Skip to content

Instantly share code, notes, and snippets.

@headius
Created May 13, 2022 20:54
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 headius/428a8a0e9b97017e533ea8f5dbd5308c to your computer and use it in GitHub Desktop.
Save headius/428a8a0e9b97017e533ea8f5dbd5308c to your computer and use it in GitHub Desktop.
JRuby, no indy, G1
user system total real
BenchRecord#update() [5000x] 0.870000 0.020000 0.890000 ( 0.732238)
BenchRecord#update('a_binary' => "\x05w\xAF\x12DS\xCF\xFA\x9FiqPv\x00(\xD8...(1536)") [5000x] 0.870000 0.030000 0.900000 ( 0.841332)
BenchRecord#update('a_boolean' => true) [5000x] 0.940000 0.000000 0.940000 ( 0.826478)
BenchRecord#update('a_date' => Fri, 13 May 2022) [5000x] 0.900000 0.030000 0.930000 ( 0.889809)
BenchRecord#update('a_datetime' => Fri, 13 May 2022 14:58:56 -0400) [5000x] 1.020000 0.000000 1.020000 ( 0.927044)
BenchRecord#update('a_decimal' => 0.123456789055555e10) [5000x] 0.930000 0.010000 0.940000 ( 0.889845)
BenchRecord#update('a_float' => 999.99) [5000x] 1.240000 0.010000 1.250000 ( 0.906112)
BenchRecord#update('a_integer' => 4242) [5000x] 0.900000 0.000000 0.900000 ( 0.850725)
BenchRecord#update('a_string' => "BORAT Ipsum!") [5000x] 0.880000 0.000000 0.880000 ( 0.833453)
BenchRecord#update('a_text' => "Kazakhstan is th...(464)") [5000x] 0.890000 0.000000 0.890000 ( 0.835448)
BenchRecord#update('a_time' => 2022-05-13 14:58:56.522501 -0400) [5000x] 0.900000 0.000000 0.900000 ( 0.850904)
BenchRecord#update('a_timestamp' => 2022-05-13 14:58:56.522702 -0400) [5000x] 0.870000 0.010000 0.880000 ( 0.830675)
BenchRecord#update(...) [5000x] 1.570000 0.000000 1.570000 ( 1.492390)
JRuby indy, G1
user system total real
BenchRecord#update() [5000x] 0.690000 0.020000 0.710000 ( 0.426165)
BenchRecord#update('a_binary' => "W\xB0f\xB2\xF3v\x98)tq\xD5g*\x98j\xA8...(1536)") [5000x] 0.940000 0.010000 0.950000 ( 0.552282)
BenchRecord#update('a_boolean' => true) [5000x] 0.440000 0.000000 0.440000 ( 0.450365)
BenchRecord#update('a_date' => Fri, 13 May 2022) [5000x] 0.570000 0.000000 0.570000 ( 0.483169)
BenchRecord#update('a_datetime' => Fri, 13 May 2022 16:09:23 -0400) [5000x] 0.570000 0.000000 0.570000 ( 0.522635)
BenchRecord#update('a_decimal' => 0.123456789055555e10) [5000x] 0.540000 0.010000 0.550000 ( 0.499857)
BenchRecord#update('a_float' => 999.99) [5000x] 0.820000 0.000000 0.820000 ( 0.543428)
BenchRecord#update('a_integer' => 4242) [5000x] 0.560000 0.000000 0.560000 ( 0.496789)
BenchRecord#update('a_string' => "BORAT Ipsum!") [5000x] 0.520000 0.000000 0.520000 ( 0.480884)
BenchRecord#update('a_text' => "Kazakhstan is th...(464)") [5000x] 0.470000 0.000000 0.470000 ( 0.471467)
BenchRecord#update('a_time' => 2022-05-13 16:09:23.283926 -0400) [5000x] 0.540000 0.000000 0.540000 ( 0.493487)
BenchRecord#update('a_timestamp' => 2022-05-13 16:09:23.284334 -0400) [5000x] 0.480000 0.000000 0.480000 ( 0.478976)
BenchRecord#update(...) [5000x] 0.940000 0.010000 0.950000 ( 0.848169)
JRuby indy, parallel
user system total real
BenchRecord#update() [5000x] 0.500000 0.010000 0.510000 ( 0.370481)
BenchRecord#update('a_binary' => "\xEA\xA9n\xE5\aV\xB639\x9D\xCALx\x17\xFA\xBC...(1536)") [5000x] 0.710000 0.000000 0.710000 ( 0.469769)
BenchRecord#update('a_boolean' => true) [5000x] 0.450000 0.000000 0.450000 ( 0.416384)
BenchRecord#update('a_date' => Fri, 13 May 2022) [5000x] 0.460000 0.010000 0.470000 ( 0.416128)
BenchRecord#update('a_datetime' => Fri, 13 May 2022 16:34:45 -0400) [5000x] 0.490000 0.000000 0.490000 ( 0.453121)
BenchRecord#update('a_decimal' => 0.123456789055555e10) [5000x] 0.520000 0.010000 0.530000 ( 0.455628)
BenchRecord#update('a_float' => 999.99) [5000x] 0.830000 0.000000 0.830000 ( 0.482420)
BenchRecord#update('a_integer' => 4242) [5000x] 0.470000 0.020000 0.490000 ( 0.421458)
BenchRecord#update('a_string' => "BORAT Ipsum!") [5000x] 0.450000 0.010000 0.460000 ( 0.425751)
BenchRecord#update('a_text' => "Kazakhstan is th...(464)") [5000x] 0.420000 0.000000 0.420000 ( 0.421064)
BenchRecord#update('a_time' => 2022-05-13 16:34:45.012495 -0400) [5000x] 0.480000 0.010000 0.490000 ( 0.446118)
BenchRecord#update('a_timestamp' => 2022-05-13 16:34:45.012745 -0400) [5000x] 0.430000 0.010000 0.440000 ( 0.446949)
BenchRecord#update(...) [5000x] 0.830000 0.030000 0.860000 ( 0.762472)
CRuby 3.1
user system total real
BenchRecord#update() [5000x] 0.679089 0.005712 0.684801 ( 0.688472)
BenchRecord#update('a_binary' => "\x87;u\xDC\"1\x1E\x04>\fG\xC1\x12\x1C\x9E*...(1536)") [5000x] 0.776373 0.002442 0.778815 ( 0.783617)
BenchRecord#update('a_boolean' => true) [5000x] 0.748143 0.003313 0.751456 ( 0.754712)
BenchRecord#update('a_date' => Fri, 13 May 2022) [5000x] 0.747993 0.005544 0.753537 ( 0.756441)
BenchRecord#update('a_datetime' => Fri, 13 May 2022 15:58:40 -0400) [5000x] 0.940223 0.003038 0.943261 ( 0.947221)
BenchRecord#update('a_decimal' => 0.123456789055555e10) [5000x] 0.811014 0.005173 0.816187 ( 0.819562)
BenchRecord#update('a_float' => 999.99) [5000x] 0.807122 0.002392 0.809514 ( 0.812892)
BenchRecord#update('a_integer' => 4242) [5000x] 0.785324 0.003556 0.788880 ( 0.792325)
BenchRecord#update('a_string' => "BORAT Ipsum!") [5000x] 0.718907 0.011952 0.730859 ( 0.733891)
BenchRecord#update('a_text' => "Kazakhstan is th...(464)") [5000x] 0.759307 0.005206 0.764513 ( 0.768002)
BenchRecord#update('a_time' => 2022-05-13 15:58:40.019581797 -0400) [5000x] 0.730722 0.001712 0.732434 ( 0.735818)
BenchRecord#update('a_timestamp' => 2022-05-13 15:58:40.0195871 -0400) [5000x] 0.730964 0.003419 0.734383 ( 0.737227)
BenchRecord#update(...) [5000x] 1.437546 0.010847 1.448393 ( 1.454696)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment