Skip to content

Conversation

@micheles
Copy link
Contributor

@micheles micheles commented Oct 13, 2023

By using numba and by vectorizing. Here are the results for Albania on oq1, before/after (1.2x):

| calc_54932, maxmem=0.6 GB | time_sec | memory_mb | counts  |
|---------------------------+----------+-----------+---------|
| total gen_event_based     | 27_004   | 133.8     | 645     |
| total gen_event_based     | 22_969   | 146.0     | 645     |

In most cases the improvement is even better. For instance in Canada with ebrisk is an 1.6x:

| calc_54937, maxmem=3.6 GB    | time_sec | memory_mb | counts  |
|------------------------------+----------+-----------+---------|
| total ebrisk                 | 12_307   | 131.2     | 646     |
| total ebrisk                 |  7_613   | 136.8     | 646     |

@micheles micheles added this to the Engine 3.18.0 milestone Oct 13, 2023
@micheles micheles requested a review from raoanirudh October 13, 2023 04:38
@micheles micheles merged commit 7af7a8d into master Oct 13, 2023
@micheles micheles deleted the faster2 branch October 13, 2023 07:53
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