-
-
Notifications
You must be signed in to change notification settings - Fork 925
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: jruby/jruby
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b59ea63c7ed9
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: dc950b4acace
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 4 commits
- 5 files changed
- 1 contributor
Commits on Jul 22, 2016
-
[bench] for java.util.List-s ... using provided Ruby extensions
... a motivator for moving things into native (in 9.1.2) : jruby 9.0.5.0 : ``` user system total real ArrayList 8.170000 0.380000 8.550000 ( 6.503745) LinkedList 6.320000 0.020000 6.340000 ( 5.950724) user system total real ArrayList 5.670000 0.000000 5.670000 ( 5.659923) LinkedList 5.870000 0.020000 5.890000 ( 5.857407) user system total real ArrayList 5.650000 0.010000 5.660000 ( 5.645130) LinkedList 5.870000 0.000000 5.870000 ( 5.870076) ``` current : ``` user system total real ArrayList 2.760000 0.190000 2.950000 ( 1.963845) LinkedList 2.340000 0.130000 2.470000 ( 1.819008) user system total real ArrayList 1.920000 0.130000 2.050000 ( 1.863589) LinkedList 1.540000 0.130000 1.670000 ( 1.596286) user system total real ArrayList 1.760000 0.090000 1.850000 ( 1.819901) LinkedList 1.540000 0.040000 1.580000 ( 1.542850) ```
Configuration menu - View commit details
-
Copy full SHA for b37db2d - Browse repository at this point
Copy the full SHA b37db2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d44ef29 - Browse repository at this point
Copy the full SHA d44ef29View commit details -
[ji] override Enumerable#include? for java.util.Collection
... and use contains(Object) directly as the (Enumerable) base impl loops over the collection making it highly non-effective (e.g. for sets) 9.0.5.0 ``` user system total real ArrayList#include? hit 11.670000 1.150000 12.820000 ( 11.749035) ArrayList#include? miss 9.840000 0.080000 9.920000 ( 9.707464) ArrayList#contains hit 0.730000 0.010000 0.740000 ( 0.370432) ArrayList#contains miss 0.350000 0.000000 0.350000 ( 0.267981) HashSet#include? hit 13.720000 0.020000 13.740000 ( 13.593915) HashSet#include? miss 9.610000 0.020000 9.630000 ( 9.543065) HashSet#contains hit 0.410000 0.000000 0.410000 ( 0.256134) HashSet#contains miss 0.290000 0.000000 0.290000 ( 0.213409) LHashSet#include? hit 11.560000 0.020000 11.580000 ( 11.453787) LHashSet#include? miss 11.840000 0.010000 11.850000 ( 11.752156) LHashSet#contains hit 0.320000 0.000000 0.320000 ( 0.227460) LHashSet#contains miss 0.310000 0.000000 0.310000 ( 0.220113) ``` before ``` user system total real ArrayList#include? hit 3.060000 0.000000 3.060000 ( 3.057502) ArrayList#include? miss 3.220000 0.010000 3.230000 ( 3.232130) ArrayList#contains hit 0.310000 0.000000 0.310000 ( 0.308007) ArrayList#contains miss 0.320000 0.000000 0.320000 ( 0.313187) HashSet#include? hit 3.040000 0.000000 3.040000 ( 3.036603) HashSet#include? miss 3.240000 0.010000 3.250000 ( 3.237065) HashSet#contains hit 0.160000 0.000000 0.160000 ( 0.152719) HashSet#contains miss 0.150000 0.000000 0.150000 ( 0.154513) LHashSet#include? hit 3.000000 0.000000 3.000000 ( 2.987810) LHashSet#include? miss 3.160000 0.000000 3.160000 ( 3.165118) LHashSet#contains hit 0.160000 0.000000 0.160000 ( 0.160286) LHashSet#contains miss 0.230000 0.000000 0.230000 ( 0.156899) ``` after ``` user system total real ArrayList#include? hit 0.110000 0.000000 0.110000 ( 0.098661) ArrayList#include? miss 0.090000 0.000000 0.090000 ( 0.087545) ArrayList#contains hit 0.350000 0.000000 0.350000 ( 0.352668) ArrayList#contains miss 0.350000 0.000000 0.350000 ( 0.351055) HashSet#include? hit 0.070000 0.000000 0.070000 ( 0.061353) HashSet#include? miss 0.060000 0.000000 0.060000 ( 0.058946) HashSet#contains hit 0.180000 0.000000 0.180000 ( 0.172549) HashSet#contains miss 0.170000 0.000000 0.170000 ( 0.171588) LHashSet#include? hit 0.090000 0.000000 0.090000 ( 0.071044) LHashSet#include? miss 0.070000 0.000000 0.070000 ( 0.060303) LHashSet#contains hit 0.300000 0.000000 0.300000 ( 0.208889) LHashSet#contains miss 0.170000 0.000000 0.170000 ( 0.166072) ```
1Configuration menu - View commit details
-
Copy full SHA for 2e47a9d - Browse repository at this point
Copy the full SHA 2e47a9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for dc950b4 - Browse repository at this point
Copy the full SHA dc950b4View commit details
There are no files selected for viewing