Skip to content

Instantly share code, notes, and snippets.

@XrXr XrXr/jit-post (four) Secret
Created Oct 17, 2019

Embed
What would you like to do?
Raw benchmark results for "Combine call info and cache to speed up method invocation" plus basic stats analysis
ruby 2.7.0dev (2019-10-16T21:54:57Z ci-cc-together 77968f74aa) +JIT [x86_64-darwin18]
fps: 74.93131296094707
checksum: 59662
fps: 73.50599073893623
checksum: 59662
fps: 73.74993854172689
checksum: 59662
fps: 72.37868528321044
checksum: 59662
fps: 72.68909259840697
checksum: 59662
fps: 73.19096335848715
checksum: 59662
fps: 72.72022106776907
checksum: 59662
fps: 69.88011677572555
checksum: 59662
fps: 74.27397192025819
checksum: 59662
fps: 73.13981080579283
checksum: 59662
fps: 67.9476048474284
checksum: 59662
fps: 72.48010823069804
checksum: 59662
fps: 73.49998774866094
checksum: 59662
fps: 73.87524933176086
checksum: 59662
fps: 72.35424639233796
checksum: 59662
fps: 74.31629012755106
checksum: 59662
fps: 70.40766035130375
checksum: 59662
fps: 70.99079485342061
checksum: 59662
fps: 69.74149153667442
checksum: 59662
fps: 73.80557970307007
checksum: 59662
fps: 70.89293591756956
checksum: 59662
fps: 67.69003978923355
checksum: 59662
fps: 74.17725066012932
checksum: 59662
fps: 74.59655695196695
checksum: 59662
fps: 71.07376666947809
checksum: 59662
fps: 74.03812140209038
checksum: 59662
fps: 74.16869257548264
checksum: 59662
fps: 72.65740419153127
checksum: 59662
fps: 70.54507830524136
checksum: 59662
fps: 73.89829951979102
checksum: 59662
fps: 72.58298654247643
checksum: 59662
fps: 73.816475833531
checksum: 59662
fps: 72.60875177812554
checksum: 59662
fps: 69.71178051670758
checksum: 59662
fps: 70.29931887491102
checksum: 59662
fps: 70.92198581396326
checksum: 59662
fps: 72.74843590792204
checksum: 59662
fps: 72.85384708428055
checksum: 59662
fps: 73.49398573879415
checksum: 59662
fps: 70.79646017750981
checksum: 59662
fps: 73.54864016063674
checksum: 59662
fps: 74.73345069580809
checksum: 59662
fps: 72.80610923464313
checksum: 59662
fps: 73.40048118079838
checksum: 59662
fps: 68.6315628914908
checksum: 59662
fps: 71.57797624667026
checksum: 59662
fps: 61.6104984296574
checksum: 59662
fps: 66.930919855823
checksum: 59662
fps: 73.46758854527558
checksum: 59662
fps: 74.01559261986702
checksum: 59662
ruby 2.7.0dev (2019-10-15T17:08:52Z master a5245c1658) +JIT [x86_64-darwin18]
fps: 69.18393702440106
checksum: 59662
fps: 71.86891110360196
checksum: 59662
fps: 72.87803456068907
checksum: 59662
fps: 71.4801960174984
checksum: 59662
fps: 71.87924286457829
checksum: 59662
fps: 72.0582230429576
checksum: 59662
fps: 71.58993285910728
checksum: 59662
fps: 63.71771635708862
checksum: 59662
fps: 72.99980533237016
checksum: 59662
fps: 68.86419979478798
checksum: 59662
fps: 71.64863508718635
checksum: 59662
fps: 71.61328825009232
checksum: 59662
fps: 72.15990635200669
checksum: 59662
fps: 70.62368560932782
checksum: 59662
fps: 71.73887051063042
checksum: 59662
fps: 73.5300125001866
checksum: 59662
fps: 73.1951300838543
checksum: 59662
fps: 70.70746749696859
checksum: 59662
fps: 72.77726115384593
checksum: 59662
fps: 70.66582914651151
checksum: 59662
fps: 69.72906385480778
checksum: 59662
fps: 68.99724010611463
checksum: 59662
fps: 71.47962830452643
checksum: 59662
fps: 71.78579119758328
checksum: 59662
fps: 72.90046656229528
checksum: 59662
fps: 72.41828803842583
checksum: 59662
fps: 71.89934092629233
checksum: 59662
fps: 71.48530579876815
checksum: 59662
fps: 70.94267044106097
checksum: 59662
fps: 69.94909260670492
checksum: 59662
fps: 69.76744186002439
checksum: 59662
fps: 72.87095363578855
checksum: 59662
fps: 70.62257725552965
checksum: 59662
fps: 72.75725753444038
checksum: 59662
fps: 71.71829055534462
checksum: 59662
fps: 72.67852673105297
checksum: 59662
fps: 61.96938712151634
checksum: 59662
fps: 70.37132603193287
checksum: 59662
fps: 69.93876472833192
checksum: 59662
fps: 71.71200459224133
checksum: 59662
fps: 71.86259871076227
checksum: 59662
fps: 72.33854438866057
checksum: 59662
fps: 71.80125412816079
checksum: 59662
fps: 70.94267044106097
checksum: 59662
fps: 69.22757410840283
checksum: 59662
fps: 72.66737718963152
checksum: 59662
fps: 72.7966869403939
checksum: 59662
fps: 72.32052456392653
checksum: 59662
fps: 69.02687446887627
checksum: 59662
fps: 72.1512289767346
checksum: 59662
ruby 2.7.0dev (2019-10-16T21:54:57Z ci-cc-together 77968f74aa) [x86_64-darwin18]
fps: 50.49853273427333
checksum: 59662
fps: 50.553277538774985
checksum: 59662
fps: 48.4014090175668
checksum: 59662
fps: 49.01720503904725
checksum: 59662
fps: 50.45889562323118
checksum: 59662
fps: 49.849344203477315
checksum: 59662
fps: 48.684964998506864
checksum: 59662
fps: 48.445700442683034
checksum: 59662
fps: 49.74216975454357
checksum: 59662
fps: 51.527209229496826
checksum: 59662
fps: 50.035580855303834
checksum: 59662
fps: 50.589650482917136
checksum: 59662
fps: 50.3234680693355
checksum: 59662
fps: 49.23198109160651
checksum: 59662
fps: 49.670793022707215
checksum: 59662
fps: 50.732235261952205
checksum: 59662
fps: 51.06180180102048
checksum: 59662
fps: 50.54532792544539
checksum: 59662
fps: 48.753534632871336
checksum: 59662
fps: 49.158569159100026
checksum: 59662
fps: 48.905069824512644
checksum: 59662
fps: 50.15548199199091
checksum: 59662
fps: 49.73914581114431
checksum: 59662
fps: 48.09927690567865
checksum: 59662
fps: 49.26647690001631
checksum: 59662
fps: 50.30574715185267
checksum: 59662
fps: 50.24424284446346
checksum: 59662
fps: 50.51270394703616
checksum: 59662
fps: 49.313987639519446
checksum: 59662
fps: 50.27286996523945
checksum: 59662
fps: 51.24000819762862
checksum: 59662
fps: 50.65542491111198
checksum: 59662
fps: 50.19156447091128
checksum: 59662
fps: 49.58841614488929
checksum: 59662
fps: 51.13462040811602
checksum: 59662
fps: 49.9572587892879
checksum: 59662
fps: 49.76692490318581
checksum: 59662
fps: 51.33968044008104
checksum: 59662
fps: 50.365711025518294
checksum: 59662
fps: 50.348805334695506
checksum: 59662
fps: 50.27118511350093
checksum: 59662
fps: 48.67890850814932
checksum: 59662
fps: 47.712958838730835
checksum: 59662
fps: 51.18667781424464
checksum: 59662
fps: 43.26070341793062
checksum: 59662
fps: 51.26072915526544
checksum: 59662
fps: 49.15105210421801
checksum: 59662
fps: 51.25430678319821
checksum: 59662
fps: 49.95919998490266
checksum: 59662
fps: 50.58765998192313
checksum: 59662
ruby 2.7.0dev (2019-10-15T17:08:52Z master a5245c1658) [x86_64-darwin18]
fps: 41.97996156637378
checksum: 59662
fps: 42.879399309030646
checksum: 59662
fps: 42.23210766445658
checksum: 59662
fps: 42.67931238798418
checksum: 59662
fps: 42.550777261991215
checksum: 59662
fps: 41.301075664936484
checksum: 59662
fps: 42.262846729594145
checksum: 59662
fps: 42.379864855437866
checksum: 59662
fps: 41.78699774193859
checksum: 59662
fps: 42.04291179991518
checksum: 59662
fps: 42.37806887944986
checksum: 59662
fps: 42.56244856959593
checksum: 59662
fps: 42.129111683227464
checksum: 59662
fps: 42.393040003666876
checksum: 59662
fps: 42.622717909203644
checksum: 59662
fps: 43.20857258169028
checksum: 59662
fps: 42.02426200650949
checksum: 59662
fps: 42.516805948436826
checksum: 59662
fps: 41.26017751174686
checksum: 59662
fps: 42.382658900715974
checksum: 59662
fps: 42.9229580566738
checksum: 59662
fps: 42.504557433202194
checksum: 59662
fps: 42.97337560871303
checksum: 59662
fps: 42.83348245689807
checksum: 59662
fps: 42.05882627786756
checksum: 59662
fps: 42.56446151217072
checksum: 59662
fps: 42.39124291085481
checksum: 59662
fps: 41.761596963182015
checksum: 59662
fps: 42.47406722082605
checksum: 59662
fps: 42.39164225196869
checksum: 59662
fps: 42.66818375742241
checksum: 59662
fps: 41.76741120830699
checksum: 59662
fps: 42.503553770577184
checksum: 59662
fps: 42.82105082841618
checksum: 59662
fps: 42.08951036001055
checksum: 59662
fps: 42.89574902965519
checksum: 59662
fps: 42.52484159462523
checksum: 59662
fps: 41.93673145068499
checksum: 59662
fps: 42.23052234483865
checksum: 59662
fps: 42.82859046439929
checksum: 59662
fps: 42.49171411441976
checksum: 59662
fps: 43.18742382194771
checksum: 59662
fps: 42.307746547290556
checksum: 59662
fps: 42.4418193371452
checksum: 59662
fps: 42.019749281306616
checksum: 59662
fps: 40.220228094065746
checksum: 59662
fps: 38.56520304424792
checksum: 59662
fps: 40.59082196225227
checksum: 59662
fps: 41.904123364180876
checksum: 59662
fps: 40.00604535897697
checksum: 59662
cat one | rg fps | cut -f2 -d' ' | Rscript -e 'x <- as.numeric (readLines ("stdin")); summary(x); print("variance", quote=FALSE); var(x)'
Min. 1st Qu. Median Mean 3rd Qu. Max.
38.57 42.02 42.39 42.17 42.56 43.21
[1] variance
[1] 0.6969075
alanwu ~/s/g/m/optcarrot (master)>
cat two | rg fps | cut -f2 -d' ' | Rscript -e 'x <- as.numeric (readLines ("stdin")); summary(x); print("variance", quote=FALSE); var(x)'
Min. 1st Qu. Median Mean 3rd Qu. Max.
61.97 70.62 71.72 71.13 72.33 73.53
[1] variance
[1] 4.427744
alanwu ~/s/g/m/optcarrot (master)>
cat three | rg fps | cut -f2 -d' ' | Rscript -e 'x <- as.numeric (readLines ("stdin")); summary(x); print("variance", quote=FALSE); var(x)'
Min. 1st Qu. Median Mean 3rd Qu. Max.
43.26 49.24 50.17 49.84 50.55 51.53
[1] variance
[1] 1.735236
alanwu ~/s/g/m/optcarrot (master)>
cat four | rg fps | cut -f2 -d' ' | Rscript -e 'x <- as.numeric (readLines ("stdin")); summary(x); print("variance", quote=FALSE); var(x)'
Min. 1st Qu. Median Mean 3rd Qu. Max.
61.61 70.90 72.73 72.08 73.79 74.93
[1] variance
[1] 6.044887
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.