Skip to content

Conversation

@micheles
Copy link
Contributor

@micheles micheles commented Oct 3, 2023

There is a 7x speedup for EUR:

# before
| ncalls      | cumtime | path                                        |
|-------------+---------+---------------------------------------------|
| 4614        | 188.384 | stats.py:177(quantile_curve)                |
| 1661040     | 121.965 | stats.py:206(<listcomp>)                    |
| 3326131     | 17.056  | fromnumeric.py:51(_wrapfunc)                |
| 1661065     | 11.506  | fromnumeric.py:1012(argsort)                |
| 1538        | 6.843   | getters.py:220(get_hcurve)                  |

# after
| ncalls      | cumtime | path                                        |
|-------------+---------+---------------------------------------------|
| 4614        | 27.579  | stats.py:177(quantile_curve)                |
| 3326131     | 15.649  | fromnumeric.py:51(_wrapfunc)                |
| 1661065     | 10.250  | fromnumeric.py:1012(argsort)                |
| 1538        | 6.613   | getters.py:220(get_hcurve)                  |

@micheles micheles added this to the Engine 3.18.0 milestone Oct 3, 2023
@micheles micheles self-assigned this Oct 3, 2023
@micheles micheles merged commit c3f56f0 into master Oct 3, 2023
@micheles micheles deleted the quantiles branch October 3, 2023 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants