Skip to content

Commit 76c03d9

Browse files
run comparison benchmarks (#2)
* run comparison benchmarks * Update benchmark results [skip ci] --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 288dcd0 commit 76c03d9

File tree

2 files changed

+627
-0
lines changed

2 files changed

+627
-0
lines changed

benchmarks/results/_utils.md

Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
1+
#### [faster_hexbytes._utils](https://github.com/BobTheBuidler/faster-hexbytes/blob/benchmark/faster_hexbytes/_utils.py) - [view benchmarks](https://github.com/BobTheBuidler/faster-hexbytes/blob/benchmark/benchmarks/test__utils_benchmarks.py)
2+
3+
| Function | Reference Mean | Faster Mean | % Change | Speedup (%) | x Faster | Faster |
4+
|----------|---------------|-------------|----------|-------------|----------|--------|
5+
| `hexstr_to_bytes['']` | 1.7693315307804868e-05 | 1.1179726147479144e-05 | 36.81% | 58.26% | 1.58x ||
6+
| `hexstr_to_bytes['0x'+'0'*128]` | 3.42949906090721e-05 | 2.098034489856244e-05 | 38.82% | 63.46% | 1.63x ||
7+
| `hexstr_to_bytes['0x'+'00'*64]` | 3.4029689635560134e-05 | 2.10303706868544e-05 | 38.20% | 61.81% | 1.62x ||
8+
| `hexstr_to_bytes['0x'+'00ff'*16]` | 3.094838328028653e-05 | 1.807462000181124e-05 | 41.60% | 71.23% | 1.71x ||
9+
| `hexstr_to_bytes['0x'+'0123456789abcdef'*8]` | 3.432770530738586e-05 | 2.0939726654757956e-05 | 39.00% | 63.94% | 1.64x ||
10+
| `hexstr_to_bytes['0x'+'1'*64]` | 3.106500558142552e-05 | 1.803506739850267e-05 | 41.94% | 72.25% | 1.72x ||
11+
| `hexstr_to_bytes['0x'+'1234567890abcdef'*8]` | 3.444213332083847e-05 | 2.1062415055709138e-05 | 38.85% | 63.52% | 1.64x ||
12+
| `hexstr_to_bytes['0x'+'a'*128]` | 3.402123802839552e-05 | 2.1096504577780626e-05 | 37.99% | 61.26% | 1.61x ||
13+
| `hexstr_to_bytes['0x'+'a1b2c3d4'*8]` | 3.118321973125747e-05 | 1.865736666332591e-05 | 40.17% | 67.14% | 1.67x ||
14+
| `hexstr_to_bytes['0x'+'b'*2048]` | 0.00013594383303039772 | 0.00011740238816895623 | 13.64% | 15.79% | 1.16x ||
15+
| `hexstr_to_bytes['0x'+'badc0ffee0ddf00d'*4]` | 3.0637299606844215e-05 | 1.825061606833408e-05 | 40.43% | 67.87% | 1.68x ||
16+
| `hexstr_to_bytes['0x'+'beef'*16]` | 3.0686441614538446e-05 | 1.828964146387517e-05 | 40.40% | 67.78% | 1.68x ||
17+
| `hexstr_to_bytes['0x'+'c'*1024]` | 8.930193709352504e-05 | 7.109606211638662e-05 | 20.39% | 25.61% | 1.26x ||
18+
| `hexstr_to_bytes['0x'+'cafebabe'*8]` | 3.088379314855554e-05 | 1.8427330656680643e-05 | 40.33% | 67.60% | 1.68x ||
19+
| `hexstr_to_bytes['0x'+'d'*512]` | 5.7096419255965127e-05 | 4.083693236247332e-05 | 28.48% | 39.82% | 1.40x ||
20+
| `hexstr_to_bytes['0x'+'dead'*16]` | 3.058232145729629e-05 | 1.809661975645168e-05 | 40.83% | 68.99% | 1.69x ||
21+
| `hexstr_to_bytes['0x'+'e'*256]` | 4.3404514225927844e-05 | 2.765456002913683e-05 | 36.29% | 56.95% | 1.57x ||
22+
| `hexstr_to_bytes['0x'+'f'*128]` | 3.399261691057168e-05 | 2.222686285822979e-05 | 34.61% | 52.93% | 1.53x ||
23+
| `hexstr_to_bytes['0x'+'f'*64]` | 3.1021508877018215e-05 | 1.8116641999804634e-05 | 41.60% | 71.23% | 1.71x ||
24+
| `hexstr_to_bytes['0x'+'facefeed'*8]` | 3.080530283390321e-05 | 1.836125208505399e-05 | 40.40% | 67.77% | 1.68x ||
25+
| `hexstr_to_bytes['0x'+'ff'*32]` | 3.025273538705345e-05 | 1.869490905427472e-05 | 38.20% | 61.82% | 1.62x ||
26+
| `hexstr_to_bytes['0x'+'ff00'*16]` | 3.133593755440466e-05 | 1.793547693437449e-05 | 42.76% | 74.71% | 1.75x ||
27+
| `hexstr_to_bytes['0x']` | 2.2363566556968745e-05 | 1.0721175914161055e-05 | 52.06% | 108.59% | 2.09x ||
28+
| `hexstr_to_bytes['0x0']` | 3.117668463108531e-05 | 1.8295366577069213e-05 | 41.32% | 70.41% | 1.70x ||
29+
| `hexstr_to_bytes['0x1']` | 3.0849555815962966e-05 | 1.8261551169755883e-05 | 40.80% | 68.93% | 1.69x ||
30+
| `hexstr_to_bytes['0x1234']` | 2.8017224899503598e-05 | 1.6290132930728818e-05 | 41.86% | 71.99% | 1.72x ||
31+
| `hexstr_to_bytes['0xCAFEBABE']` | 2.8630167761260635e-05 | 1.590381517649548e-05 | 44.45% | 80.02% | 1.80x ||
32+
| `hexstr_to_bytes['0xabcdef']` | 2.819579268732196e-05 | 1.6022231111650803e-05 | 43.18% | 75.98% | 1.76x ||
33+
| `hexstr_to_bytes['0xdeadbeef']` | 2.830248157006902e-05 | 1.585293612257558e-05 | 43.99% | 78.53% | 1.79x ||
34+
| `hexstr_to_bytes['deadbeef']` | 2.1769765855138907e-05 | 1.4235579165167571e-05 | 34.61% | 52.93% | 1.53x ||
35+
| `to_bytes['']` | 2.780713012713541e-05 | 1.2309232769289748e-05 | 55.73% | 125.90% | 2.26x ||
36+
| `to_bytes['0x'+'00'*64]` | 4.614754749205394e-05 | 2.454348694205276e-05 | 46.82% | 88.02% | 1.88x ||
37+
| `to_bytes['0x'+'a'*128]` | 4.578380867751802e-05 | 2.2843051102385115e-05 | 50.11% | 100.43% | 2.00x ||
38+
| `to_bytes['0x'+'ff'*32]` | 4.2892556366788844e-05 | 2.0060250794027318e-05 | 53.23% | 113.82% | 2.14x ||
39+
| `to_bytes['0x']` | 3.378070519013953e-05 | 1.2405538866200987e-05 | 63.28% | 172.30% | 2.72x ||
40+
| `to_bytes['0x1234']` | 4.0135614389222814e-05 | 1.7331320939841e-05 | 56.82% | 131.58% | 2.32x ||
41+
| `to_bytes['0xCAFEBABE']` | 4.028950128859023e-05 | 1.7608736971127636e-05 | 56.29% | 128.80% | 2.29x ||
42+
| `to_bytes['0xabcdef']` | 4.033539702017461e-05 | 1.7413172587315903e-05 | 56.83% | 131.64% | 2.32x ||
43+
| `to_bytes['0xdeadbeef']` | 4.013742988293151e-05 | 1.753887938858019e-05 | 56.30% | 128.85% | 2.29x ||
44+
| `to_bytes['abc']` | 3.626267484598067e-05 | 1.9475589274551575e-05 | 46.29% | 86.20% | 1.86x ||
45+
| `to_bytes['deadbeef']` | 3.2121970134094524e-05 | 1.4998967326784364e-05 | 53.31% | 114.16% | 2.14x ||
46+
| `to_bytes[0-9]` | 6.3886084044368e-06 | 3.6301764321770105e-06 | 43.18% | 75.99% | 1.76x ||
47+
| `to_bytes[0]` | 7.379821878600025e-05 | 3.0514048254667094e-05 | 58.65% | 141.85% | 2.42x ||
48+
| `to_bytes[123456]` | 7.73908812451048e-05 | 3.575842943020024e-05 | 53.80% | 116.43% | 2.16x ||
49+
| `to_bytes[2**16]` | 7.617986899797664e-05 | 3.527787514997935e-05 | 53.69% | 115.94% | 2.16x ||
50+
| `to_bytes[2**256-1]` | 8.129447794758294e-05 | 4.0483949767541644e-05 | 50.20% | 100.81% | 2.01x ||
51+
| `to_bytes[2**32]` | 7.885789630365754e-05 | 3.807714350478118e-05 | 51.71% | 107.10% | 2.07x ||
52+
| `to_bytes[2**64]` | 8.069210213483589e-05 | 3.965815884713019e-05 | 50.85% | 103.47% | 2.03x ||
53+
| `to_bytes[2**8]` | 7.60528725562803e-05 | 3.317653912689118e-05 | 56.38% | 129.24% | 2.29x ||
54+
| `to_bytes[4-byte pattern]` | 5.966323180854022e-06 | 3.3885955799150795e-06 | 43.20% | 76.07% | 1.76x ||
55+
| `to_bytes[False]` | 2.132333374780846e-05 | 4.322555878144883e-06 | 79.73% | 393.30% | 4.93x ||
56+
| `to_bytes[True]` | 2.114009323563744e-05 | 4.474505459519339e-06 | 78.83% | 372.46% | 4.72x ||
57+
| `to_bytes[all byte values]` | 6.388727853404534e-06 | 3.6321036172973787e-06 | 43.15% | 75.90% | 1.76x ||
58+
| `to_bytes[alternating 0x00/0xff]` | 6.363086431103152e-06 | 3.4449100293139135e-06 | 45.86% | 84.71% | 1.85x ||
59+
| `to_bytes[alternating 0xaa/0x55]` | 6.278620315055821e-06 | 3.535981761329247e-06 | 43.68% | 77.56% | 1.78x ||
60+
| `to_bytes[ascii sentence]` | 6.385267134108629e-06 | 3.7213794053924145e-06 | 41.72% | 71.58% | 1.72x ||
61+
| `to_bytes[b'']` | 6.10807762546999e-06 | 3.559441642548437e-06 | 41.73% | 71.60% | 1.72x ||
62+
| `to_bytes[b'\\x00'*32]` | 6.1997821267900955e-06 | 3.7227266437959667e-06 | 39.95% | 66.54% | 1.67x ||
63+
| `to_bytes[b'\\x00\\xff\\x00\\xff']` | 6.115080140454961e-06 | 3.6294043971970026e-06 | 40.65% | 68.49% | 1.68x ||
64+
| `to_bytes[b'\\x01'*100]` | 6.38729320124322e-06 | 3.629548274374021e-06 | 43.18% | 75.98% | 1.76x ||
65+
| `to_bytes[b'\\x01'*2048]` | 6.392970547909741e-06 | 3.5681287886529697e-06 | 44.19% | 79.17% | 1.79x ||
66+
| `to_bytes[b'\\x01\\x02\\x03']` | 6.214807194428287e-06 | 3.5724200907566754e-06 | 42.52% | 73.97% | 1.74x ||
67+
| `to_bytes[b'\\x10\\x20\\x30\\x40\\x50']` | 6.384759732087906e-06 | 3.4718455445162805e-06 | 45.62% | 83.90% | 1.84x ||
68+
| `to_bytes[b'\\x7f'*8]` | 6.2221944530742285e-06 | 3.6299630009677656e-06 | 41.66% | 71.41% | 1.71x ||
69+
| `to_bytes[b'\\x80'*8]` | 6.154746823977371e-06 | 3.5098569762158247e-06 | 42.97% | 75.36% | 1.75x ||
70+
| `to_bytes[b'\\xde\\xad\\xbe\\xef']` | 6.118508096629166e-06 | 3.5327114331565147e-06 | 42.26% | 73.20% | 1.73x ||
71+
| `to_bytes[b'\\xff'*64]` | 6.228611346948233e-06 | 3.5638385534057674e-06 | 42.78% | 74.77% | 1.75x ||
72+
| `to_bytes[b'a'*1024]` | 6.214476654822796e-06 | 3.6405793911024955e-06 | 41.42% | 70.70% | 1.71x ||
73+
| `to_bytes[b'abc']` | 5.704947810781707e-06 | 3.6286094943273793e-06 | 36.40% | 57.22% | 1.57x ||
74+
| `to_bytes[bytearray(0-9)]` | 2.8385540980501474e-05 | 1.3892159525838066e-05 | 51.06% | 104.33% | 2.04x ||
75+
| `to_bytes[bytearray(4-byte pattern)]` | 2.827050900870094e-05 | 1.4056222794783555e-05 | 50.28% | 101.12% | 2.01x ||
76+
| `to_bytes[bytearray(all byte values)]` | 2.877292936670269e-05 | 1.435422533320354e-05 | 50.11% | 100.45% | 2.00x ||
77+
| `to_bytes[bytearray(alternating 0x00/0xff)]` | 2.8227929229195593e-05 | 1.3651875261692757e-05 | 51.64% | 106.77% | 2.07x ||
78+
| `to_bytes[bytearray(alternating 0xaa/0x55)]` | 2.837463577403303e-05 | 1.4085501772100954e-05 | 50.36% | 101.45% | 2.01x ||
79+
| `to_bytes[bytearray(ascii sentence)]` | 2.788046431872048e-05 | 1.4073893727957965e-05 | 49.52% | 98.10% | 1.98x ||
80+
| `to_bytes[bytearray(b'')]` | 2.5972620905868233e-05 | 1.2685871938856117e-05 | 51.16% | 104.74% | 2.05x ||
81+
| `to_bytes[bytearray(b'\\x00'*32)]` | 2.790329559512333e-05 | 1.403080114449928e-05 | 49.72% | 98.87% | 1.99x ||
82+
| `to_bytes[bytearray(b'\\x00\\xff\\x00\\xff')]` | 2.7745585095988548e-05 | 1.4024106217358874e-05 | 49.45% | 97.84% | 1.98x ||
83+
| `to_bytes[bytearray(b'\\x01'*100)]` | 2.8536359978812884e-05 | 1.4236424049013974e-05 | 50.11% | 100.45% | 2.00x ||
84+
| `to_bytes[bytearray(b'\\x01'*2048)]` | 3.549077378005222e-05 | 1.9352766224829574e-05 | 45.47% | 83.39% | 1.83x ||
85+
| `to_bytes[bytearray(b'\\x01\\x02\\x03')]` | 2.8101052165112413e-05 | 1.4292128556009155e-05 | 49.14% | 96.62% | 1.97x ||
86+
| `to_bytes[bytearray(b'\\x10\\x20\\x30\\x40\\x50')]` | 2.7661397342967836e-05 | 1.4095613005042919e-05 | 49.04% | 96.24% | 1.96x ||
87+
| `to_bytes[bytearray(b'\\x7f'*8)]` | 2.725931521432537e-05 | 1.3800682471510037e-05 | 49.37% | 97.52% | 1.98x ||
88+
| `to_bytes[bytearray(b'\\x80'*8)]` | 2.8590031839184632e-05 | 1.4021589244572647e-05 | 50.96% | 103.90% | 2.04x ||
89+
| `to_bytes[bytearray(b'\\xde\\xad\\xbe\\xef')]` | 2.7673809875166307e-05 | 1.3955245016922358e-05 | 49.57% | 98.30% | 1.98x ||
90+
| `to_bytes[bytearray(b'\\xff'*64)]` | 2.7825869941964144e-05 | 1.397535630887856e-05 | 49.78% | 99.11% | 1.99x ||
91+
| `to_bytes[bytearray(b'a'*1024)]` | 3.4580409459484653e-05 | 1.8673202446672093e-05 | 46.00% | 85.19% | 1.85x ||
92+
| `to_bytes[bytearray(b'abc')]` | 2.7632051275317663e-05 | 1.4212278275687856e-05 | 48.57% | 94.42% | 1.94x ||
93+
| `to_bytes[bytearray(long alternating)]` | 3.447633488580355e-05 | 1.863387225839248e-05 | 45.95% | 85.02% | 1.85x ||
94+
| `to_bytes[bytearray(mixed pattern)]` | 2.8541322877722866e-05 | 1.4195507938501473e-05 | 50.26% | 101.06% | 2.01x ||
95+
| `to_bytes[bytearray(multiples of 0x10)]` | 2.8730667094271124e-05 | 1.4011019797634606e-05 | 51.23% | 105.06% | 2.05x ||
96+
| `to_bytes[bytearray(palindrome ascii)]` | 2.8401192649128307e-05 | 1.3961644776858775e-05 | 50.84% | 103.42% | 2.03x ||
97+
| `to_bytes[bytearray(palindrome numeric)]` | 2.805100416648689e-05 | 1.4152590803546867e-05 | 49.55% | 98.20% | 1.98x ||
98+
| `to_bytes[bytearray(palindrome)]` | 2.7361673603877895e-05 | 1.411429298192429e-05 | 48.42% | 93.86% | 1.94x ||
99+
| `to_bytes[bytearray(repeated 0-9)]` | 2.8494565334918126e-05 | 1.4258424138299958e-05 | 49.96% | 99.84% | 2.00x ||
100+
| `to_bytes[bytearray(single 0xff)]` | 2.8234466593201184e-05 | 1.3801473578009802e-05 | 51.12% | 104.58% | 2.05x ||
101+
| `to_bytes[bytearray(single null byte)]` | 2.8434517722019846e-05 | 1.3809952582861235e-05 | 51.43% | 105.90% | 2.06x ||
102+
| `to_bytes[bytearray(two patterns)]` | 2.836216679184966e-05 | 1.3887588637424222e-05 | 51.03% | 104.23% | 2.04x ||
103+
| `to_bytes[long alternating]` | 6.353790402607213e-06 | 3.5938990087545537e-06 | 43.44% | 76.79% | 1.77x ||
104+
| `to_bytes[memoryview(0-9)]` | 4.191141964546983e-05 | 1.7061112356892058e-05 | 59.29% | 145.65% | 2.46x ||
105+
| `to_bytes[memoryview(4-byte pattern)]` | 4.227527549170472e-05 | 1.785782064892619e-05 | 57.76% | 136.73% | 2.37x ||
106+
| `to_bytes[memoryview(all byte values)]` | 4.25000108585221e-05 | 1.7688601774026213e-05 | 58.38% | 140.27% | 2.40x ||
107+
| `to_bytes[memoryview(alternating 0x00/0xff)]` | 4.1347704048452746e-05 | 1.6650846971237402e-05 | 59.73% | 148.32% | 2.48x ||
108+
| `to_bytes[memoryview(alternating 0xaa/0x55)]` | 4.171208060914525e-05 | 1.675602408003079e-05 | 59.83% | 148.94% | 2.49x ||
109+
| `to_bytes[memoryview(ascii sentence)]` | 4.166324952645984e-05 | 1.709207709767455e-05 | 58.98% | 143.76% | 2.44x ||
110+
| `to_bytes[memoryview(b'')]` | 3.925414926485738e-05 | 1.5303932766174733e-05 | 61.01% | 156.50% | 2.56x ||
111+
| `to_bytes[memoryview(b'\\x00'*32)]` | 4.1375511773526405e-05 | 1.6976747870806958e-05 | 58.97% | 143.72% | 2.44x ||
112+
| `to_bytes[memoryview(b'\\x00\\xff\\x00\\xff')]` | 4.106893288361651e-05 | 1.7061131875227936e-05 | 58.46% | 140.72% | 2.41x ||
113+
| `to_bytes[memoryview(b'\\x01'*100)]` | 4.193922634521223e-05 | 1.7745782258368427e-05 | 57.69% | 136.33% | 2.36x ||
114+
| `to_bytes[memoryview(b'\\x01'*2048)]` | 5.0798682929570083e-05 | 2.40390666370428e-05 | 52.68% | 111.32% | 2.11x ||
115+
| `to_bytes[memoryview(b'\\x01\\x02\\x03')]` | 4.036702557146768e-05 | 1.7250564311840054e-05 | 57.27% | 134.00% | 2.34x ||
116+
| `to_bytes[memoryview(b'\\x10\\x20\\x30\\x40\\x50')]` | 4.175508032041267e-05 | 1.6957717517602734e-05 | 59.39% | 146.23% | 2.46x ||
117+
| `to_bytes[memoryview(b'\\x7f'*8)]` | 4.1358438818942784e-05 | 1.6817791110631697e-05 | 59.34% | 145.92% | 2.46x ||
118+
| `to_bytes[memoryview(b'\\x80'*8)]` | 4.203092161038334e-05 | 1.681154500200111e-05 | 60.00% | 150.01% | 2.50x ||
119+
| `to_bytes[memoryview(b'\\xde\\xad\\xbe\\xef')]` | 4.231867737850461e-05 | 1.6846002165597455e-05 | 60.19% | 151.21% | 2.51x ||
120+
| `to_bytes[memoryview(b'\\xff'*64)]` | 4.126073396736014e-05 | 1.6694308190545488e-05 | 59.54% | 147.15% | 2.47x ||
121+
| `to_bytes[memoryview(b'a'*1024)]` | 4.88048523792244e-05 | 2.4008626930621554e-05 | 50.81% | 103.28% | 2.03x ||
122+
| `to_bytes[memoryview(b'abc')]` | 4.134610001372583e-05 | 1.7269193990729754e-05 | 58.23% | 139.42% | 2.39x ||
123+
| `to_bytes[memoryview(long alternating)]` | 4.8406942144499424e-05 | 2.388143899713461e-05 | 50.67% | 102.70% | 2.03x ||
124+
| `to_bytes[memoryview(mixed pattern)]` | 4.167505874201827e-05 | 1.7698671546729557e-05 | 57.53% | 135.47% | 2.35x ||
125+
| `to_bytes[memoryview(multiples of 0x10)]` | 4.2573899493451105e-05 | 1.705716143319723e-05 | 59.94% | 149.60% | 2.50x ||
126+
| `to_bytes[memoryview(palindrome ascii)]` | 4.147093203068994e-05 | 1.6858821327193028e-05 | 59.35% | 145.99% | 2.46x ||
127+
| `to_bytes[memoryview(palindrome numeric)]` | 4.2052385986215005e-05 | 1.6783240695512243e-05 | 60.09% | 150.56% | 2.51x ||
128+
| `to_bytes[memoryview(palindrome)]` | 4.010310828456553e-05 | 1.6841586810144283e-05 | 58.00% | 138.12% | 2.38x ||
129+
| `to_bytes[memoryview(repeated 0-9)]` | 4.2346341955859134e-05 | 1.7627392408451933e-05 | 58.37% | 140.23% | 2.40x ||
130+
| `to_bytes[memoryview(single 0xff)]` | 4.154646686337471e-05 | 1.708420634946452e-05 | 58.88% | 143.19% | 2.43x ||
131+
| `to_bytes[memoryview(single null byte)]` | 4.1426186115767904e-05 | 1.7216447723124524e-05 | 58.44% | 140.62% | 2.41x ||
132+
| `to_bytes[memoryview(two patterns)]` | 4.120532411573023e-05 | 1.6795418517469898e-05 | 59.24% | 145.34% | 2.45x ||
133+
| `to_bytes[mixed pattern]` | 6.402295260899727e-06 | 3.6240499846615196e-06 | 43.39% | 76.66% | 1.77x ||
134+
| `to_bytes[multiples of 0x10]` | 6.11021314345847e-06 | 3.5831417482492563e-06 | 41.36% | 70.53% | 1.71x ||
135+
| `to_bytes[palindrome ascii]` | 6.034686767709764e-06 | 3.5377684971786242e-06 | 41.38% | 70.58% | 1.71x ||
136+
| `to_bytes[palindrome numeric]` | 6.402815719286604e-06 | 3.659680142558091e-06 | 42.84% | 74.96% | 1.75x ||
137+
| `to_bytes[palindrome]` | 5.802467693826409e-06 | 3.521160495735191e-06 | 39.32% | 64.79% | 1.65x ||
138+
| `to_bytes[repeated 0-9]` | 6.383479853505014e-06 | 3.638034291718348e-06 | 43.01% | 75.47% | 1.75x ||
139+
| `to_bytes[single 0xff]` | 6.267069994516826e-06 | 3.559259039534453e-06 | 43.21% | 76.08% | 1.76x ||
140+
| `to_bytes[single null byte]` | 6.26625804427524e-06 | 3.271624181759306e-06 | 47.79% | 91.53% | 1.92x ||
141+
| `to_bytes[two patterns]` | 6.347030519900153e-06 | 3.5394506816199115e-06 | 44.23% | 79.32% | 1.79x ||

0 commit comments

Comments
 (0)