Skip to content

Instantly share code, notes, and snippets.

@dafyddcrosby
Created March 5, 2024 23:23
Show Gist options
  • Save dafyddcrosby/00e8b526093b4e2819de48de30b088f5 to your computer and use it in GitHub Desktop.
Save dafyddcrosby/00e8b526093b4e2819de48de30b088f5 to your computer and use it in GitHub Desktop.
11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz, Ruby 3.1.2
Rehearsal ---------------------------------------------------------------------------
convert_value_pre13733: empty hashes 0.077135 0.002090 0.079225 ( 0.079440)
convert_value_pre13733: empty arrays 0.053054 0.000000 0.053054 ( 0.053157)
convert_value_pre13733: N str arrays 0.441886 0.000000 0.441886 ( 0.444279)
convert_value_pre13733: 2xN str arrays 0.777672 0.000000 0.777672 ( 0.778824)
convert_value_pre13733: AwfulNest 1.886283 0.005961 1.892244 ( 1.895102)
convert_value_pre13733: 2xAwfulNest 3.937568 0.005034 3.942602 ( 3.949034)
------------------------------------------------------------------ total: 7.186683sec
user system total real
convert_value_pre13733: empty hashes 0.056773 0.000000 0.056773 ( 0.056905)
convert_value_pre13733: empty arrays 0.052856 0.000991 0.053847 ( 0.053942)
convert_value_pre13733: N str arrays 0.440410 0.000984 0.441394 ( 0.442137)
convert_value_pre13733: 2xN str arrays 0.848441 0.000000 0.848441 ( 0.849708)
convert_value_pre13733: AwfulNest 1.836650 0.001996 1.838646 ( 1.841572)
convert_value_pre13733: 2xAwfulNest 3.742995 0.000010 3.743005 ( 3.750075)
Rehearsal -----------------------------------------------------------------------
convert_value_main: empty hashes 0.039959 0.000001 0.039960 ( 0.040027)
convert_value_main: empty arrays 0.035704 0.000000 0.035704 ( 0.035759)
convert_value_main: N str arrays 0.282620 0.000000 0.282620 ( 0.282995)
convert_value_main: 2xN str arrays 0.557754 0.000000 0.557754 ( 0.558466)
convert_value_main: AwfulNest 1.924029 0.000998 1.925027 ( 1.928191)
convert_value_main: 2xAwfulNest 2.051586 0.001000 2.052586 ( 2.055928)
-------------------------------------------------------------- total: 4.893651sec
user system total real
convert_value_main: empty hashes 0.036807 0.000997 0.037804 ( 0.037867)
convert_value_main: empty arrays 0.036222 0.000000 0.036222 ( 0.036297)
convert_value_main: N str arrays 0.278540 0.000000 0.278540 ( 0.278901)
convert_value_main: 2xN str arrays 0.555452 0.000000 0.555452 ( 0.556129)
convert_value_main: AwfulNest 1.906551 0.000000 1.906551 ( 1.909594)
convert_value_main: 2xAwfulNest 2.054168 0.000000 2.054168 ( 2.057442)
Rehearsal ----------------------------------------------------------------------------------
convert_value_classcomparison: empty hashes 0.037403 0.000995 0.038398 ( 0.038469)
convert_value_classcomparison: empty arrays 0.034365 0.000000 0.034365 ( 0.034416)
convert_value_classcomparison: N str arrays 0.249406 0.000000 0.249406 ( 0.249708)
convert_value_classcomparison: 2xN str arrays 0.471924 0.000000 0.471924 ( 0.472503)
convert_value_classcomparison: AwfulNest 1.789923 0.000000 1.789923 ( 1.792756)
convert_value_classcomparison: 2xAwfulNest 1.949342 0.001000 1.950342 ( 1.953226)
------------------------------------------------------------------------- total: 4.534358sec
user system total real
convert_value_classcomparison: empty hashes 0.037459 0.000000 0.037459 ( 0.037508)
convert_value_classcomparison: empty arrays 0.035216 0.000000 0.035216 ( 0.035258)
convert_value_classcomparison: N str arrays 0.254417 0.000000 0.254417 ( 0.254732)
convert_value_classcomparison: 2xN str arrays 0.483823 0.000000 0.483823 ( 0.484398)
convert_value_classcomparison: AwfulNest 1.816061 0.004992 1.821053 ( 1.823681)
convert_value_classcomparison: 2xAwfulNest 1.991944 0.004990 1.996934 ( 1.999987)
Rehearsal ------------------------------------------------------------------------------
convert_value_frozencheck: empty hashes 0.038047 0.000000 0.038047 ( 0.038108)
convert_value_frozencheck: empty arrays 0.035747 0.000000 0.035747 ( 0.035806)
convert_value_frozencheck: N str arrays 0.304087 0.001000 0.305087 ( 0.305469)
convert_value_frozencheck: 2xN str arrays 0.476807 0.000000 0.476807 ( 0.477393)
convert_value_frozencheck: AwfulNest 1.917513 0.002995 1.920508 ( 1.923409)
convert_value_frozencheck: 2xAwfulNest 2.096907 0.000999 2.097906 ( 2.100965)
--------------------------------------------------------------------- total: 4.874102sec
user system total real
convert_value_frozencheck: empty hashes 0.038385 0.000996 0.039381 ( 0.039434)
convert_value_frozencheck: empty arrays 0.036834 0.000000 0.036834 ( 0.036885)
convert_value_frozencheck: N str arrays 0.340774 0.000000 0.340774 ( 0.341227)
convert_value_frozencheck: 2xN str arrays 0.457894 0.000000 0.457894 ( 0.458501)
convert_value_frozencheck: AwfulNest 1.972193 0.002995 1.975188 ( 1.978378)
convert_value_frozencheck: 2xAwfulNest 2.091339 0.001002 2.092341 ( 2.095831)
Rehearsal -----------------------------------------------------------------------
convert_value_both: empty hashes 0.037473 0.000000 0.037473 ( 0.037534)
convert_value_both: empty arrays 0.035120 0.000000 0.035120 ( 0.035182)
convert_value_both: N str arrays 0.245777 0.000000 0.245777 ( 0.246108)
convert_value_both: 2xN str arrays 0.370092 0.000000 0.370092 ( 0.370557)
convert_value_both: AwfulNest 1.909303 0.000998 1.910301 ( 1.913686)
convert_value_both: 2xAwfulNest 2.087245 0.001000 2.088245 ( 2.091634)
-------------------------------------------------------------- total: 4.687008sec
user system total real
convert_value_both: empty hashes 0.038257 0.000000 0.038257 ( 0.038315)
convert_value_both: empty arrays 0.036764 0.000995 0.037759 ( 0.037820)
convert_value_both: N str arrays 0.254553 0.000003 0.254556 ( 0.254902)
convert_value_both: 2xN str arrays 0.383161 0.000000 0.383161 ( 0.383667)
convert_value_both: AwfulNest 1.947547 0.003989 1.951536 ( 1.956132)
convert_value_both: 2xAwfulNest 1.992979 0.000000 1.992979 ( 1.995997)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment