You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2.0.0 is still under development, but we already observed a huge performance increase for interval creation/union, intersection, difference and complement (except for intersection of very small intervals, but we are talking about µs!).
TL;DR: speed-up observed, details below.
Union Intersection Difference Complement
large intervals: ~500 atomics 1.854881 36.768802 117.073171 234.741784
medium intervals: ~50 atomics 1.637532 4.327869 12.640000 349.353050
small intervals: ~5 atomics 1.349882 0.463259 1.505017 3.898305
Time in milliseconds (5K atomics not reported for 1.10.0: too slow):
v Union Intersection Difference Complement
index
small intervals: ~5 atomics 1.10.0 0.00571 0.0145 0.0450 0.02990
medium intervals: ~50 atomics 1.10.0 0.06370 13.2000 31.6000 18.90000
large intervals: ~500 atomics 1.10.0 7.03000 1320.0000 2880.0000 1500.00000
small intervals: ~5 atomics 2.0.0 0.00423 0.0313 0.0299 0.00767
medium intervals: ~50 atomics 2.0.0 0.03890 3.0500 2.5000 0.05410
large intervals: ~500 atomics 2.0.0 3.79000 35.9000 24.6000 6.39000
very large intervals: ~5000 atomics 2.0.0 69.20000 258.0000 205.0000 50.50000
To quantify this, we ran the following snippet in both versions (in a Jupyter console, hence the use of %timeit). Please note that there is no scientific or rigorous process here ;-)
2.0.0 is still under development, but we already observed a huge performance increase for interval creation/union, intersection, difference and complement (except for intersection of very small intervals, but we are talking about µs!).
TL;DR: speed-up observed, details below.
Time in milliseconds (5K atomics not reported for 1.10.0: too slow):
To quantify this, we ran the following snippet in both versions (in a Jupyter console, hence the use of
%timeit
). Please note that there is no scientific or rigorous process here ;-)Here are the resulting outputs for both versions. Notice that we killed the execution of "very large intervals" in 1.10.0 as it took too much time.
1.10.0 :
2.0.0 :
The text was updated successfully, but these errors were encountered: