Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@hsbt
Created August 30, 2014 05:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hsbt/2647af71d60121034c1c to your computer and use it in GitHub Desktop.
Save hsbt/2647af71d60121034c1c to your computer and use it in GitHub Desktop.
[hsbt@chkbuild001 ruby]$ ./ruby --disable-gems -r./lib/benchmark -ve "100.times { p Benchmark.realtime { sleep 0.001 } }"
ruby 2.2.0dev (2014-08-30 trunk 47319) [x86_64-linux]
0.001109822653234005
0.0011178525164723396
0.0011171763762831688
0.0011170580983161926
0.001116105355322361
0.01247495412826538
0.001116279512643814
0.001117141917347908
0.0011168858036398888
0.001116403378546238
0.0011184290051460266
0.0011220350861549377
0.0011168234050273895
0.008235292509198189
0.0011158734560012817
0.0011192867532372475
0.0011194059625267982
0.0011173859238624573
0.001119351014494896
0.0011300062760710716
0.0011068414896726608
0.008228622376918793
0.001117396168410778
0.0011170729994773865
0.004205347038805485
0.0011164573952555656
0.0011414382606744766
0.0011164434254169464
0.0011300081387162209
0.013228622265160084
0.0011332901194691658
0.001125803217291832
0.0010966891422867775
0.001116391271352768
0.0011172164231538773
0.001117916777729988
0.0011190827935934067
0.008215069770812988
0.001118674874305725
0.0011150743812322617
0.0011181309819221497
0.0011186692863702774
0.0011164592579007149
0.0011172248050570488
0.0011170879006385803
0.008211917243897915
0.0011192727833986282
0.0011170972138643265
0.001117447391152382
0.0011151013895869255
0.0011153686791658401
0.0011175749823451042
0.0011186739429831505
0.0011180276051163673
0.0011177873238921165
0.0011183461174368858
0.012958367355167866
0.0011180229485034943
0.0011185817420482635
0.0011156629770994186
0.0011186432093381882
0.0011344123631715775
0.0011186683550477028
0.0011168140918016434
0.008197976276278496
0.0011176476255059242
0.0011158883571624756
0.0011196332052350044
0.001119581051170826
0.0011183489114046097
0.0011172574013471603
0.001115955412387848
0.008191435597836971
0.0011641466990113258
0.0011251429095864296
0.0011187847703695297
0.001118239015340805
0.0011192718520760536
0.0011167777702212334
0.001117258332669735
0.00825529359281063
0.0011174939572811127
0.0011173253878951073
0.0011184867471456528
0.0011174455285072327
0.0011178338900208473
0.0011184792965650558
0.0011205663904547691
0.00813509151339531
0.0011142576113343239
0.0011147214099764824
0.0011149952188134193
0.0011176494881510735
0.0011148294433951378
0.0011147214099764824
0.001114862971007824
0.008274879306554794
0.0011172937229275703
0.0011179540306329727
0.0011188378557562828
[hsbt@chkbuild001 ruby]$ ./ruby --disable-gems -r./lib/benchmark -ve "100.times { p Benchmark.realtime { sleep 0.01 } }"
ruby 2.2.0dev (2014-08-30 trunk 47319) [x86_64-linux]
0.010254531167447567
0.0160786435008049
0.016184616833925247
0.016180953942239285
0.016193808987736702
0.01618216745555401
0.016196959652006626
0.016184402629733086
0.016154326498508453
0.016177511774003506
0.016199083998799324
0.01612979080528021
0.016203743405640125
0.016189126297831535
0.020237013697624207
0.016182970255613327
0.016191446222364902
0.016187223605811596
0.010115674696862698
0.014137517660856247
0.01619711983948946
0.016205115243792534
0.016194540075957775
0.016180492006242275
0.016191300936043262
0.01619640551507473
0.016187023371458054
0.016206852160394192
0.01617744006216526
0.016208666376769543
0.016176406294107437
0.016197722405195236
0.0161661384627223
0.01618950068950653
0.01618141122162342
0.016180504113435745
0.02022742200642824
0.01011703722178936
0.014165934175252914
0.01011642999947071
0.014148627407848835
0.010116583667695522
0.014158247970044613
0.0161771597340703
0.010115315206348896
0.010112886317074299
0.01619998924434185
0.012125915847718716
0.01011933945119381
0.01416793093085289
0.010117240250110626
0.014163821004331112
0.016176356002688408
0.016165871173143387
0.010117916390299797
0.014161092229187489
0.01011903490871191
0.014153765514492989
0.01619697455316782
0.016176490113139153
0.010120240040123463
0.010106109082698822
0.020233966410160065
0.010120880790054798
0.014174537733197212
0.010115845128893852
0.014136957004666328
0.010117670521140099
0.014171754010021687
0.01616119220852852
0.010115896351635456
0.014167833141982555
0.016186864115297794
0.016176209785044193
0.010116245597600937
0.010113421827554703
0.016147206537425518
0.020242052152752876
0.010120600461959839
0.014099260792136192
0.010118566453456879
0.01417405903339386
0.010116634890437126
0.010065045207738876
0.02026145625859499
0.010121646337211132
0.014151211827993393
0.010118727572262287
0.014111854135990143
0.010115285404026508
0.014137125574052334
0.01016052532941103
0.014127461239695549
0.016179542057216167
0.016192151233553886
0.01011879276484251
0.014162993058562279
0.016185550950467587
0.016204270534217358
0.016128472052514553
[hsbt@chkbuild001 ruby]$ ./ruby --disable-gems -r./lib/benchmark -ve "100.times { p Benchmark.realtime { sleep 0.1 } }"
ruby 2.2.0dev (2014-08-30 trunk 47319) [x86_64-linux]
0.10014671739190817
0.10532040800899267
0.10532088670879602
0.10529228486120701
0.10012474562972784
0.10012448765337467
0.10012785531580448
0.10012681130319834
0.10013033077120781
0.10272954776883125
0.10527447983622551
0.10529345646500587
0.100126963108778
0.10230754874646664
0.10012355539947748
0.1001242222264409
0.11130588222295046
0.10012681782245636
0.10236568842083216
0.1000929968431592
0.10012604109942913
0.11168938409537077
0.1000460833311081
0.10235797427594662
0.10012463480234146
0.10640112869441509
0.10012568719685078
0.10231358837336302
0.10012540873140097
0.1001273961737752
0.10340229328721762
0.100125583820045
0.10012442339211702
0.1074618473649025
0.10125274769961834
0.10493521951138973
0.10162858664989471
0.10529663693159819
0.1001252755522728
0.10012555681169033
0.10012583900243044
0.10054860357195139
0.10526839084923267
0.10525098815560341
0.10012603923678398
0.10230840276926756
0.10012222174555063
0.10012699197977781
0.10012692492455244
0.10012802202254534
0.10976590495556593
0.10007821395993233
0.10242341458797455
0.10009892005473375
0.1022628927603364
0.10122955217957497
0.10124748107045889
0.10012349765747786
0.10011936351656914
0.11159592680633068
0.1001250771805644
0.11037621553987265
0.10012679360806942
0.1001225272193551
0.10755105596035719
0.10012671537697315
0.10012636613100767
0.10339154489338398
0.10012590885162354
0.1001266473904252
0.10012502409517765
0.10046488139778376
0.10010162834078074
0.10643981210887432
0.10012425482273102
0.10012698732316494
0.10012658406049013
0.10012604109942913
0.10012464225292206
0.1107354611158371
0.10012064687907696
0.10011962242424488
0.10749716032296419
0.10532217472791672
0.10012831632047892
0.10632175952196121
0.10012386459857225
0.10006265249103308
0.10012448020279408
0.10851942840963602
0.1001249086111784
0.10199633985757828
0.10012538824230433
0.10012371465563774
0.10718968324363232
0.10012572444975376
0.1063451562076807
0.10012657754123211
0.10233238898217678
0.10012542083859444
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment