Skip to content

Instantly share code, notes, and snippets.

@intsuc
Last active May 21, 2023 08:05
Show Gist options
  • Save intsuc/ac3640b32117915c4c7a5e654115b321 to your computer and use it in GitHub Desktop.
Save intsuc/ac3640b32117915c4c7a5e654115b321 to your computer and use it in GitHub Desktop.
1.20-pre1 vs 1.20-pre2
data get storage _ byte
data get storage _ byte 1
data get storage _ int
data get storage _ int 1
data get storage _ list_0
data get storage _ list_10
data get storage _ list_100
data get storage _ string_0
data get storage _ string_10
data get storage _ string_100
execute if data storage _ list_0[]
execute if data storage _ list_10[]
execute if data storage _ list_100[]
{
"mch_version": "0.9.1",
"forks": 5,
"jvm": "C:\\graalvm-ee-java19-22.3.1\\bin\\java.exe",
"jvm_args": [
"-Xms2G",
"-Xmx2G"
],
"jdk_version": "19.0.2",
"vm_name": "Java HotSpot(TM) 64-Bit Server VM",
"vm_version": "19.0.2+7-jvmci-22.3-b11",
"mc": "server.jar",
"mc_args": [
"nogui"
],
"warmup_iterations": 5,
"warmup_time": "10 s",
"measurement_iterations": 5,
"measurement_time": "10 s",
"results": [
{
"benchmark": "baseline",
"mode": "execute",
"count": 25,
"score": 255.69470300739624,
"error": 5.258450319608334,
"unit": "ns/op"
},
{
"benchmark": "data_get_byte",
"mode": "execute",
"count": 25,
"score": 411.5285700261318,
"error": 14.137685489812778,
"unit": "ns/op"
},
{
"benchmark": "data_get_byte_1",
"mode": "execute",
"count": 25,
"score": 732.7223183216927,
"error": 14.545820590453062,
"unit": "ns/op"
},
{
"benchmark": "data_get_int",
"mode": "execute",
"count": 25,
"score": 427.3182812278155,
"error": 28.390535253264574,
"unit": "ns/op"
},
{
"benchmark": "data_get_int_1",
"mode": "execute",
"count": 25,
"score": 728.1275184963738,
"error": 14.467024147359203,
"unit": "ns/op"
},
{
"benchmark": "data_get_list_0",
"mode": "execute",
"count": 25,
"score": 389.0023015045081,
"error": 8.55269978016407,
"unit": "ns/op"
},
{
"benchmark": "data_get_list_10",
"mode": "execute",
"count": 25,
"score": 816.7527009591863,
"error": 11.137602231444175,
"unit": "ns/op"
},
{
"benchmark": "data_get_list_100",
"mode": "execute",
"count": 25,
"score": 4462.922703788468,
"error": 43.945255140377,
"unit": "ns/op"
},
{
"benchmark": "data_get_string_0",
"mode": "execute",
"count": 25,
"score": 441.5356161091864,
"error": 24.887924872464506,
"unit": "ns/op"
},
{
"benchmark": "data_get_string_10",
"mode": "execute",
"count": 25,
"score": 476.7313221508664,
"error": 6.621706989472861,
"unit": "ns/op"
},
{
"benchmark": "data_get_string_100",
"mode": "execute",
"count": 25,
"score": 817.3706414639113,
"error": 14.210184334204083,
"unit": "ns/op"
},
{
"benchmark": "execute_if_data_list_0",
"mode": "execute",
"count": 25,
"score": 411.99997411233613,
"error": 4.168865663806669,
"unit": "ns/op"
},
{
"benchmark": "execute_if_data_list_10",
"mode": "execute",
"count": 25,
"score": 439.6631544601937,
"error": 4.759732941980362,
"unit": "ns/op"
},
{
"benchmark": "execute_if_data_list_100",
"mode": "execute",
"count": 25,
"score": 590.3236325021934,
"error": 8.479757604221735,
"unit": "ns/op"
},
{
"benchmark": "seed",
"mode": "execute",
"count": 25,
"score": 327.88856534443073,
"error": 10.402203057275766,
"unit": "ns/op"
}
]
}
{
"mch_version": "0.9.1",
"forks": 5,
"jvm": "C:\\graalvm-ee-java19-22.3.1\\bin\\java.exe",
"jvm_args": [
"-Xms2G",
"-Xmx2G"
],
"jdk_version": "19.0.2",
"vm_name": "Java HotSpot(TM) 64-Bit Server VM",
"vm_version": "19.0.2+7-jvmci-22.3-b11",
"mc": "server.jar",
"mc_args": [
"nogui"
],
"warmup_iterations": 5,
"warmup_time": "10 s",
"measurement_iterations": 5,
"measurement_time": "10 s",
"results": [
{
"benchmark": "baseline",
"mode": "execute",
"count": 25,
"score": 256.34145542784756,
"error": 7.566195532249954,
"unit": "ns/op"
},
{
"benchmark": "data_get_byte",
"mode": "execute",
"count": 25,
"score": 394.3808740939778,
"error": 28.16830803886406,
"unit": "ns/op"
},
{
"benchmark": "data_get_byte_1",
"mode": "execute",
"count": 25,
"score": 419.53804495836545,
"error": 13.316489207793278,
"unit": "ns/op"
},
{
"benchmark": "data_get_int",
"mode": "execute",
"count": 25,
"score": 392.8573651892916,
"error": 17.17305315509244,
"unit": "ns/op"
},
{
"benchmark": "data_get_int_1",
"mode": "execute",
"count": 25,
"score": 416.7105605891372,
"error": 10.625816838596558,
"unit": "ns/op"
},
{
"benchmark": "data_get_list_0",
"mode": "execute",
"count": 25,
"score": 394.9567544640538,
"error": 23.485279090451897,
"unit": "ns/op"
},
{
"benchmark": "data_get_list_10",
"mode": "execute",
"count": 25,
"score": 387.1899875507403,
"error": 21.623815488443707,
"unit": "ns/op"
},
{
"benchmark": "data_get_list_100",
"mode": "execute",
"count": 25,
"score": 393.8120899541849,
"error": 10.516362177402488,
"unit": "ns/op"
},
{
"benchmark": "data_get_string_0",
"mode": "execute",
"count": 25,
"score": 397.6326289905495,
"error": 10.938303556083557,
"unit": "ns/op"
},
{
"benchmark": "data_get_string_10",
"mode": "execute",
"count": 25,
"score": 388.52675539219666,
"error": 24.83993778360573,
"unit": "ns/op"
},
{
"benchmark": "data_get_string_100",
"mode": "execute",
"count": 25,
"score": 383.1449500259572,
"error": 13.487047614897097,
"unit": "ns/op"
},
{
"benchmark": "execute_if_data_list_0",
"mode": "execute",
"count": 25,
"score": 429.8389695984325,
"error": 11.541819569393262,
"unit": "ns/op"
},
{
"benchmark": "execute_if_data_list_10",
"mode": "execute",
"count": 25,
"score": 466.2260129783879,
"error": 17.223511315103487,
"unit": "ns/op"
},
{
"benchmark": "execute_if_data_list_100",
"mode": "execute",
"count": 25,
"score": 602.6037687858212,
"error": 14.281846456112296,
"unit": "ns/op"
},
{
"benchmark": "seed",
"mode": "execute",
"count": 25,
"score": 329.33985606261666,
"error": 10.825740747866067,
"unit": "ns/op"
}
]
}
data modify storage _ byte set value 0b
data modify storage _ int set value 0
data modify storage _ string_0 set value ""
data modify storage _ string_10 set value "0000000000"
data modify storage _ string_100 set value "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
data modify storage _ list_0 set value 0
data modify storage _ list_10 set value [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
data modify storage _ list_100 set value [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment