Skip to content

Conversation

@BobTheBuidler
Copy link
Owner

No description provided.

@codspeed-hq
Copy link

codspeed-hq bot commented Oct 17, 2025

CodSpeed Performance Report

Merging #39 will not alter performance

Comparing BobTheBuidler-patch-3 (1d28153) with master (b24533a)1

Summary

✅ 619 untouched

Footnotes

  1. No successful run was found on master (015cadb) during the generation of this report, so b24533a was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@github-actions
Copy link

Pytest Benchmark Diff

faster_hexbytes._utils - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
hexstr_to_bytes[''] 0.000018137070171239864 0.000010908896349867144 39.85% 66.26% 1.66x
hexstr_to_bytes['0x'] 0.00002324237934371746 0.000010766148452924914 53.68% 115.88% 2.16x
hexstr_to_bytes['0x'+'0'*128] 0.000034543681508433506 0.000021990648557611046 36.34% 57.08% 1.57x
hexstr_to_bytes['0x'+'00'*64] 0.00003419857757679325 0.000021511349562275377 37.10% 58.98% 1.59x
hexstr_to_bytes['0x'+'00ff'*16] 0.00003098243036960031 0.000018796755230804087 39.33% 64.83% 1.65x
hexstr_to_bytes['0x'+'0123456789abcdef'*8] 0.00003444110007871416 0.00002123554887662636 38.34% 62.19% 1.62x
hexstr_to_bytes['0x'+'1'*64] 0.00003127173463777905 0.00001839708487789097 41.17% 69.98% 1.70x
hexstr_to_bytes['0x'+'1234567890abcdef'*8] 0.00003625402571110173 0.000021643202562599394 40.30% 67.51% 1.68x
hexstr_to_bytes['0x'+'a'*128] 0.000034318644036001876 0.00002143932357091908 37.53% 60.07% 1.60x
hexstr_to_bytes['0x'+'a1b2c3d4'*8] 0.000030861947423170036 0.000018744198961844025 39.26% 64.65% 1.65x
hexstr_to_bytes['0x'+'b'*2048] 0.00013662389461730962 0.0001189393235767354 12.94% 14.87% 1.15x
hexstr_to_bytes['0x'+'badc0ffee0ddf00d'*4] 0.00003095474454597912 0.000018839119924993185 39.14% 64.31% 1.64x
hexstr_to_bytes['0x'+'beef'*16] 0.000030966921948343 0.000019280049907984777 37.74% 60.62% 1.61x
hexstr_to_bytes['0x'+'c'*1024] 0.00008908636032424083 0.00007140205636459433 19.85% 24.77% 1.25x
hexstr_to_bytes['0x'+'cafebabe'*8] 0.00003105608447107734 0.00001923096816642959 38.08% 61.49% 1.61x
hexstr_to_bytes['0x'+'d'*512] 0.000057204455800975606 0.00004144892758930077 27.54% 38.01% 1.38x
hexstr_to_bytes['0x'+'dead'*16] 0.000030957227066197844 0.000019077527739262766 38.37% 62.27% 1.62x
hexstr_to_bytes['0x'+'e'*256] 0.000042953730807460405 0.000027901203828231768 35.04% 53.95% 1.54x
hexstr_to_bytes['0x'+'f'*128] 0.000034419329599956896 0.00002147422729797781 37.61% 60.28% 1.60x
hexstr_to_bytes['0x'+'f'*64] 0.00003135200904486675 0.000018627289965968662 40.59% 68.31% 1.68x
hexstr_to_bytes['0x'+'facefeed'*8] 0.00003090838629468514 0.00001887291254959096 38.94% 63.77% 1.64x
hexstr_to_bytes['0x'+'ff'*32] 0.00003096426665553281 0.000018932851637826962 38.86% 63.55% 1.64x
hexstr_to_bytes['0x'+'ff00'*16] 0.00003112062916290225 0.00001866512897224805 40.02% 66.73% 1.67x
hexstr_to_bytes['0x0'] 0.00003149725116914716 0.000018706025276400893 40.61% 68.38% 1.68x
hexstr_to_bytes['0x1'] 0.000030746634218442405 0.000018602356359410875 39.50% 65.28% 1.65x
hexstr_to_bytes['0x1234'] 0.000028097372541615523 0.000015896420841649887 43.42% 76.75% 1.77x
hexstr_to_bytes['0xabcdef'] 0.000028983291551906793 0.000016412753992863538 43.37% 76.59% 1.77x
hexstr_to_bytes['0xCAFEBABE'] 0.000028977565050404894 0.000016169857553159906 44.20% 79.21% 1.79x
hexstr_to_bytes['0xdeadbeef'] 0.000029205410399933603 0.000016260953310973012 44.32% 79.60% 1.80x
hexstr_to_bytes['deadbeef'] 0.000022074477894454792 0.00001427979538570388 35.31% 54.59% 1.55x
to_bytes[''] 0.000028454399816541344 0.000012278322077566193 56.85% 131.75% 2.32x
to_bytes['0x'] 0.000034674049936512086 0.000012465846327967919 64.05% 178.15% 2.78x
to_bytes['0x'+'00'*64] 0.000046742512726766664 0.000023420341073130252 49.89% 99.58% 2.00x
to_bytes['0x'+'a'*128] 0.00004700911914941844 0.000022969039901795118 51.14% 104.66% 2.05x
to_bytes['0x'+'ff'*32] 0.0000431969304796646 0.000020663188674213136 52.17% 109.05% 2.09x
to_bytes['0x1234'] 0.00004050342776087545 0.000017775232520101357 56.11% 127.86% 2.28x
to_bytes['0xabcdef'] 0.00003981455992342279 0.00001774774919008494 55.42% 124.34% 2.24x
to_bytes['0xCAFEBABE'] 0.00004072985666946773 0.000018078837396868887 55.61% 125.29% 2.25x
to_bytes['0xdeadbeef'] 0.00004061140067580528 0.00001788168241461495 55.97% 127.11% 2.27x
to_bytes['abc'] 0.000036208701946771504 0.000019760436945103706 45.43% 83.24% 1.83x
to_bytes['deadbeef'] 0.00003170304626610524 0.000015506371763218643 51.09% 104.45% 2.04x
to_bytes[0-9] 0.0000061599679155674105 0.0000032509479755600274 47.22% 89.48% 1.89x
to_bytes[0] 0.00007363226185694868 0.00003192706694388191 56.64% 130.63% 2.31x
to_bytes[123456] 0.0000768917873397947 0.00003610230886576174 53.05% 112.98% 2.13x
to_bytes[2**16] 0.0000814272133475641 0.00003587371729775953 55.94% 126.98% 2.27x
to_bytes[2**256-1] 0.00008513099982002723 0.00004085284712552147 52.01% 108.38% 2.08x
to_bytes[2**32] 0.00008317847599054422 0.000038400679901366115 53.83% 116.61% 2.17x
to_bytes[2**64] 0.00008557124864553138 0.00003925836419166041 54.12% 117.97% 2.18x
to_bytes[2**8] 0.00007736551151855844 0.00003401993787707252 56.03% 127.41% 2.27x
to_bytes[4-byte pattern] 0.0000056706999139547965 0.00000359777967912398 36.55% 57.62% 1.58x
to_bytes[all byte values] 0.000006287241023390768 0.0000035675838316315645 43.26% 76.23% 1.76x
to_bytes[alternating 0x00/0xff] 0.000006160253335760185 0.00000356759027993831 42.09% 72.67% 1.73x
to_bytes[alternating 0xaa/0x55] 0.000006209463125836133 0.000003265053177025583 47.42% 90.18% 1.90x
to_bytes[ascii sentence] 0.000006471809056579896 0.0000033972147669998125 47.51% 90.50% 1.91x
to_bytes[b''] 0.000006066094953555429 0.000003674927477025235 39.42% 65.07% 1.65x
to_bytes[b'\\x00'*32] 0.000006264547700592833 0.0000037881093955142173 39.53% 65.37% 1.65x
to_bytes[b'\\x00\\xff\\x00\\xff'] 0.000006199661644977329 0.0000037280636342659518 39.87% 66.30% 1.66x
to_bytes[b'\\x01'*100] 0.000006096225962085657 0.0000036234545151364815 40.56% 68.24% 1.68x
to_bytes[b'\\x01'*2048] 0.0000060463883382890425 0.0000034626680211533827 42.73% 74.62% 1.75x
to_bytes[b'\\x01\\x02\\x03'] 0.000006208534898819586 0.000003725357560838869 40.00% 66.66% 1.67x
to_bytes[b'\\x10\\x20\\x30\\x40\\x50'] 0.000006206933907035124 0.0000035123356465339558 43.41% 76.72% 1.77x
to_bytes[b'\\x7f'*8] 0.0000061952528822751305 0.0000034090693208467308 44.97% 81.73% 1.82x
to_bytes[b'\\x80'*8] 0.000006154999941352741 0.000003503451425845938 43.08% 75.68% 1.76x
to_bytes[b'\\xde\\xad\\xbe\\xef'] 0.000006208876472904492 0.0000038129489357851 38.59% 62.84% 1.63x
to_bytes[b'\\xff'*64] 0.000006157893259838667 0.0000037310261124592865 39.41% 65.05% 1.65x
to_bytes[b'a'*1024] 0.000006195161405975758 0.00000373840246886432 39.66% 65.72% 1.66x
to_bytes[b'abc'] 0.000005891091044184206 0.0000036869758106539045 37.41% 59.78% 1.60x
to_bytes[bytearray(0-9)] 0.000028633641285509455 0.00001407979575165892 50.83% 103.37% 2.03x
to_bytes[bytearray(4-byte pattern)] 0.000028538048619779095 0.00001404007912066598 50.80% 103.26% 2.03x
to_bytes[bytearray(all byte values)] 0.000029020703078724238 0.000014015862040657017 51.70% 107.06% 2.07x
to_bytes[bytearray(alternating 0x00/0xff)] 0.000028383597879869276 0.000013888814169771017 51.07% 104.36% 2.04x
to_bytes[bytearray(alternating 0xaa/0x55)] 0.00002823550003116488 0.000013966201444956204 50.54% 102.17% 2.02x
to_bytes[bytearray(ascii sentence)] 0.000028556551109477717 0.000013994383192169451 50.99% 104.06% 2.04x
to_bytes[bytearray(b'')] 0.00002647067171019977 0.000012403671343652234 53.14% 113.41% 2.13x
to_bytes[bytearray(b'\\x00'*32)] 0.000028404440120873863 0.000013852764784146462 51.23% 105.05% 2.05x
to_bytes[bytearray(b'\\x00\\xff\\x00\\xff')] 0.000028331612967425065 0.000014008972986360544 50.55% 102.24% 2.02x
to_bytes[bytearray(b'\\x01'*100)] 0.00002859181872348172 0.000014037975277443738 50.90% 103.67% 2.04x
to_bytes[bytearray(b'\\x01'*2048)] 0.00003601626840701711 0.000019327386295117736 46.34% 86.35% 1.86x
to_bytes[bytearray(b'\\x01\\x02\\x03')] 0.00002857582983817557 0.000013969636730137524 51.11% 104.56% 2.05x
to_bytes[bytearray(b'\\x10\\x20\\x30\\x40\\x50')] 0.00002859030346022732 0.000013952988427042352 51.20% 104.90% 2.05x
to_bytes[bytearray(b'\\x7f'*8)] 0.000028634330121702334 0.000013877386260759346 51.54% 106.34% 2.06x
to_bytes[bytearray(b'\\x80'*8)] 0.000028514087196660755 0.00001424325006022279 50.05% 100.19% 2.00x
to_bytes[bytearray(b'\\xde\\xad\\xbe\\xef')] 0.000028723018254154948 0.000013875210042258965 51.69% 107.01% 2.07x
to_bytes[bytearray(b'\\xff'*64)] 0.000028472511941478617 0.000013712199541406358 51.84% 107.64% 2.08x
to_bytes[bytearray(b'a'*1024)] 0.00003535725586288495 0.000018819438683153036 46.77% 87.88% 1.88x
to_bytes[bytearray(b'abc')] 0.000028301683771243496 0.000013685039559795993 51.65% 106.81% 2.07x
to_bytes[bytearray(long alternating)] 0.00003504596923430132 0.000019459067605432135 44.48% 80.10% 1.80x
to_bytes[bytearray(mixed pattern)] 0.000028889038789479886 0.000014018867399649854 51.47% 106.07% 2.06x
to_bytes[bytearray(multiples of 0x10)] 0.000028286325405694757 0.000014000013832480981 50.51% 102.04% 2.02x
to_bytes[bytearray(palindrome ascii)] 0.00002868018716150399 0.000014087693384556776 50.88% 103.58% 2.04x
to_bytes[bytearray(palindrome numeric)] 0.000028680587497359172 0.00001387121561034546 51.64% 106.76% 2.07x
to_bytes[bytearray(palindrome)] 0.00002844942201557902 0.000013800088126191084 51.49% 106.15% 2.06x
to_bytes[bytearray(repeated 0-9)] 0.000029161334670588223 0.000014186930807501974 51.35% 105.55% 2.06x
to_bytes[bytearray(single 0xff)] 0.00002818244018304425 0.000014063959045935246 50.10% 100.39% 2.00x
to_bytes[bytearray(single null byte)] 0.000028204074850004643 0.0000137234029507519 51.34% 105.52% 2.06x
to_bytes[bytearray(two patterns)] 0.000028591856005077288 0.000013946568268983266 51.22% 105.01% 2.05x
to_bytes[False] 0.00002246707773472326 0.000004185362913314061 81.37% 436.80% 5.37x
to_bytes[long alternating] 0.000006241011855305188 0.0000033781789300164656 45.87% 84.74% 1.85x
to_bytes[memoryview(0-9)] 0.00004374521585322401 0.00001732581624625881 60.39% 152.49% 2.52x
to_bytes[memoryview(4-byte pattern)] 0.00004418109548063581 0.000017944657864072262 59.38% 146.21% 2.46x
to_bytes[memoryview(all byte values)] 0.00004377556862012173 0.00001795331508769432 58.99% 143.83% 2.44x
to_bytes[memoryview(alternating 0x00/0xff)] 0.000043387994994346074 0.00001735472970625149 60.00% 150.01% 2.50x
to_bytes[memoryview(alternating 0xaa/0x55)] 0.0000392948828305587 0.000017418902678387233 55.67% 125.59% 2.26x
to_bytes[memoryview(ascii sentence)] 0.00004318482027419876 0.000017366215726814494 59.79% 148.67% 2.49x
to_bytes[memoryview(b'')] 0.00004097065245153037 0.000015617808285674093 61.88% 162.33% 2.62x
to_bytes[memoryview(b'\\x00'*32)] 0.00004277380995679753 0.000017398413074481818 59.32% 145.85% 2.46x
to_bytes[memoryview(b'\\x00\\xff\\x00\\xff')] 0.000042944164068242066 0.00001757475951155364 59.08% 144.35% 2.44x
to_bytes[memoryview(b'\\x01'*100)] 0.0000429994974028626 0.000018298992949597558 57.44% 134.98% 2.35x
to_bytes[memoryview(b'\\x01'*2048)] 0.00005058722297070756 0.000024490536518296784 51.59% 106.56% 2.07x
to_bytes[memoryview(b'\\x01\\x02\\x03')] 0.00004293269866796396 0.00001781465691494589 58.51% 141.00% 2.41x
to_bytes[memoryview(b'\\x10\\x20\\x30\\x40\\x50')] 0.000042853068391544535 0.000017901849472548916 58.23% 139.38% 2.39x
to_bytes[memoryview(b'\\x7f'*8)] 0.000043642975212414234 0.000017721918567619377 59.39% 146.27% 2.46x
to_bytes[memoryview(b'\\x80'*8)] 0.000040646390075531334 0.00001794842869216045 55.84% 126.46% 2.26x
to_bytes[memoryview(b'\\xde\\xad\\xbe\\xef')] 0.00004336544892117431 0.000017662346410100496 59.27% 145.52% 2.46x
to_bytes[memoryview(b'\\xff'*64)] 0.00004378760867177669 0.000017419713906478727 60.22% 151.37% 2.51x
to_bytes[memoryview(b'a'*1024)] 0.00005096345507454497 0.000025163480943879824 50.62% 102.53% 2.03x
to_bytes[memoryview(b'abc')] 0.000043683741126241494 0.000017473069389203117 60.00% 150.01% 2.50x
to_bytes[memoryview(long alternating)] 0.00005110462790921241 0.000023411619585013984 54.19% 118.29% 2.18x
to_bytes[memoryview(mixed pattern)] 0.00004328721847869588 0.0000180924778248696 58.20% 139.26% 2.39x
to_bytes[memoryview(multiples of 0x10)] 0.00004381289323173656 0.00001783836610021535 59.29% 145.61% 2.46x
to_bytes[memoryview(palindrome ascii)] 0.00004444565578613116 0.000017486165163765553 60.66% 154.18% 2.54x
to_bytes[memoryview(palindrome numeric)] 0.000043559523070555024 0.000017430152069996312 59.99% 149.91% 2.50x
to_bytes[memoryview(palindrome)] 0.00004202155086387724 0.000017084922318952204 59.34% 145.96% 2.46x
to_bytes[memoryview(repeated 0-9)] 0.00004315684468338433 0.00001793799100131454 58.44% 140.59% 2.41x
to_bytes[memoryview(single 0xff)] 0.0000434973284695955 0.00001755401323124404 59.64% 147.79% 2.48x
to_bytes[memoryview(single null byte)] 0.00004278032761739911 0.00001720185267910552 59.79% 148.70% 2.49x
to_bytes[memoryview(two patterns)] 0.000043302229726114 0.000016914356027055033 60.94% 156.01% 2.56x
to_bytes[mixed pattern] 0.000006327056263254603 0.000003463070519191423 45.27% 82.70% 1.83x
to_bytes[multiples of 0x10] 0.000006257952242328166 0.0000034718031130677293 44.52% 80.25% 1.80x
to_bytes[palindrome ascii] 0.000006260871914445039 0.0000034825247736269756 44.38% 79.78% 1.80x
to_bytes[palindrome numeric] 0.000006080519472620189 0.0000035665966994356835 41.34% 70.49% 1.70x
to_bytes[palindrome] 0.000006202812471551435 0.0000033750824227719414 45.59% 83.78% 1.84x
to_bytes[repeated 0-9] 0.000006353595594762063 0.0000033816815025448673 46.78% 87.88% 1.88x
to_bytes[single 0xff] 0.000005813856056212137 0.000003151974939717269 45.79% 84.45% 1.84x
to_bytes[single null byte] 0.000006165913564819924 0.0000034500016207798323 44.05% 78.72% 1.79x
to_bytes[True] 0.000022317829048642637 0.000004346944205801267 80.52% 413.41% 5.13x
to_bytes[two patterns] 0.000006321788737191555 0.0000036226735525357664 42.70% 74.51% 1.75x

faster_hexbytes.main - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
hexbytes_getitem_index[-1-0-9] 0.000024555122299123324 0.000023801943939862938 3.07% 3.16% 1.03x
hexbytes_getitem_index[-1-4-byte pattern] 0.000024573451047861282 0.000024236600364516635 1.37% 1.39% 1.01x
hexbytes_getitem_index[-1-all byte values] 0.00002496033923613225 0.000024533125428577993 1.71% 1.74% 1.02x
hexbytes_getitem_index[-1-alternating 0x00/0xff] 0.000024523161183748534 0.000023953551153040334 2.32% 2.38% 1.02x
hexbytes_getitem_index[-1-alternating 0xaa/0x55] 0.00002459887068911235 0.00002406181974156546 2.18% 2.23% 1.02x
hexbytes_getitem_index[-1-ascii sentence] 0.000024706274909440078 0.000023495779487995815 4.90% 5.15% 1.05x
hexbytes_getitem_index[-1-b'\\x00'*32] 0.00002473162652019165 0.000023721663020933683 4.08% 4.26% 1.04x
hexbytes_getitem_index[-1-b'\\x00\\xff\\x00\\xff'] 0.00002466595243096195 0.00002356074339162891 4.48% 4.69% 1.05x
hexbytes_getitem_index[-1-b'\\x01'*100] 0.00002459387239294581 0.000024141125953481465 1.84% 1.88% 1.02x
hexbytes_getitem_index[-1-b'\\x01'*2048] 0.000024553006383701673 0.00002385707481599254 2.83% 2.92% 1.03x
hexbytes_getitem_index[-1-b'\\x01\\x02\\x03'] 0.000024980377583330167 0.000023507334378573767 5.90% 6.27% 1.06x
hexbytes_getitem_index[-1-b'\\x10\\x20\\x30\\x40\\x50'] 0.000024723566574255784 0.000023652898165193505 4.33% 4.53% 1.05x
hexbytes_getitem_index[-1-b'\\x7f'*8] 0.000024507000517133212 0.000023688662281134872 3.34% 3.45% 1.03x
hexbytes_getitem_index[-1-b'\\x80'*8] 0.00002462823953129378 0.000023548806799968826 4.38% 4.58% 1.05x
hexbytes_getitem_index[-1-b'\\xde\\xad\\xbe\\xef'] 0.000024756833403534363 0.000023574168824704977 4.78% 5.02% 1.05x
hexbytes_getitem_index[-1-b'\\xff'*64] 0.000024515863885607603 0.000023647275246179523 3.54% 3.67% 1.04x
hexbytes_getitem_index[-1-b'a'*1024] 0.000024597724465519915 0.000023677949256153968 3.74% 3.88% 1.04x
hexbytes_getitem_index[-1-b'abc'] 0.00002434014957280423 0.00002365916475512462 2.80% 2.88% 1.03x
hexbytes_getitem_index[-1-long alternating] 0.00002469127584447 0.000024034781810279084 2.66% 2.73% 1.03x
hexbytes_getitem_index[-1-mixed pattern] 0.000024778666951842257 0.000023669561764527653 4.48% 4.69% 1.05x
hexbytes_getitem_index[-1-multiples of 0x10] 0.00002442251194025761 0.0000238729481511914 2.25% 2.30% 1.02x
hexbytes_getitem_index[-1-palindrome ascii] 0.0000247858614973297 0.000023850097765810615 3.78% 3.92% 1.04x
hexbytes_getitem_index[-1-palindrome numeric] 0.000025084127849384527 0.000023488176096734355 6.36% 6.79% 1.07x
hexbytes_getitem_index[-1-palindrome] 0.000024541452067096577 0.000023551197571986354 4.04% 4.20% 1.04x
hexbytes_getitem_index[-1-repeated 0-9] 0.00002471437450553215 0.000023413342965834427 5.26% 5.56% 1.06x
hexbytes_getitem_index[-1-two patterns] 0.000024801708184006797 0.000023607180816420497 4.82% 5.06% 1.05x
hexbytes_getitem_index[0-0-9] 0.000023331189802846248 0.000022431702124325805 3.86% 4.01% 1.04x
hexbytes_getitem_index[0-4-byte pattern] 0.00002328102709655396 0.00002213966957513182 4.90% 5.16% 1.05x
hexbytes_getitem_index[0-all byte values] 0.000023439445425893947 0.000022348652345075856 4.65% 4.88% 1.05x
hexbytes_getitem_index[0-alternating 0x00/0xff] 0.000023096239958263292 0.000022625915292755638 2.04% 2.08% 1.02x
hexbytes_getitem_index[0-alternating 0xaa/0x55] 0.00002355353954209169 0.000022482325704624474 4.55% 4.76% 1.05x
hexbytes_getitem_index[0-ascii sentence] 0.00002345032004709695 0.000022819516150508208 2.69% 2.76% 1.03x
hexbytes_getitem_index[0-b'\\x00'*32] 0.000023331027625386693 0.00002259536665137197 3.15% 3.26% 1.03x
hexbytes_getitem_index[0-b'\\x00\\xff\\x00\\xff'] 0.00002357589027976213 0.000022284973332870796 5.48% 5.79% 1.06x
hexbytes_getitem_index[0-b'\\x01'*100] 0.000023647568255446115 0.00002250223179282137 4.84% 5.09% 1.05x
hexbytes_getitem_index[0-b'\\x01'*2048] 0.000023536885080570452 0.000022506629763821472 4.38% 4.58% 1.05x
hexbytes_getitem_index[0-b'\\x01\\x02\\x03'] 0.00002359405933478625 0.000022515525997251936 4.57% 4.79% 1.05x
hexbytes_getitem_index[0-b'\\x10\\x20\\x30\\x40\\x50'] 0.00002382792987753024 0.000022373496160703015 6.10% 6.50% 1.07x
hexbytes_getitem_index[0-b'\\x7f'*8] 0.000024026726075336838 0.000022283285110016206 7.26% 7.82% 1.08x
hexbytes_getitem_index[0-b'\\x80'*8] 0.00002368934642022142 0.000022525889741240308 4.91% 5.16% 1.05x
hexbytes_getitem_index[0-b'\\xde\\xad\\xbe\\xef'] 0.000023789630186610488 0.000022334415178538318 6.12% 6.52% 1.07x
hexbytes_getitem_index[0-b'\\xff'*64] 0.000023953345236652975 0.000022478026325446398 6.16% 6.56% 1.07x
hexbytes_getitem_index[0-b'a'*1024] 0.0000236552874721663 0.000022616983127165054 4.39% 4.59% 1.05x
hexbytes_getitem_index[0-b'abc'] 0.000023597713668402645 0.000022340052688916618 5.33% 5.63% 1.06x
hexbytes_getitem_index[0-long alternating] 0.000023593261883258544 0.000022470794650413885 4.76% 5.00% 1.05x
hexbytes_getitem_index[0-mixed pattern] 0.000023584000470642774 0.000022258337332518065 5.62% 5.96% 1.06x
hexbytes_getitem_index[0-multiples of 0x10] 0.000023209387111369155 0.000022316009043478258 3.85% 4.00% 1.04x
hexbytes_getitem_index[0-palindrome ascii] 0.000023413552010518802 0.000022348250108376067 4.55% 4.77% 1.05x
hexbytes_getitem_index[0-palindrome numeric] 0.0000235422503917187 0.0000221769319196349 5.80% 6.16% 1.06x
hexbytes_getitem_index[0-palindrome] 0.000023870680483767933 0.000022207694932613986 6.97% 7.49% 1.07x
hexbytes_getitem_index[0-repeated 0-9] 0.000023301059553164577 0.000022640146321872943 2.84% 2.92% 1.03x
hexbytes_getitem_index[0-single 0xff] 0.00002355780734427652 0.00002235579456574326 5.10% 5.38% 1.05x
hexbytes_getitem_index[0-single null byte] 0.000023506858090766196 0.00002223380214412571 5.42% 5.73% 1.06x
hexbytes_getitem_index[0-two patterns] 0.000023833461385047295 0.000022515993454001552 5.53% 5.85% 1.06x
hexbytes_getitem_index[1-0-9] 0.000023713659467173803 0.000022561557354316057 4.86% 5.11% 1.05x
hexbytes_getitem_index[1-4-byte pattern] 0.000023956494592232633 0.000022273877493474555 7.02% 7.55% 1.08x
hexbytes_getitem_index[1-all byte values] 0.00002348820738219799 0.000022507231768509136 4.18% 4.36% 1.04x
hexbytes_getitem_index[1-alternating 0x00/0xff] 0.000023931525482011456 0.00002258443121766695 5.63% 5.96% 1.06x
hexbytes_getitem_index[1-alternating 0xaa/0x55] 0.000023790459594855416 0.000022359888353815603 6.01% 6.40% 1.06x
hexbytes_getitem_index[1-ascii sentence] 0.000023345508995487693 0.00002254411659410475 3.43% 3.55% 1.04x
hexbytes_getitem_index[1-b'\\x00'*32] 0.000023468951205585194 0.000022444332163180805 4.37% 4.57% 1.05x
hexbytes_getitem_index[1-b'\\x00\\xff\\x00\\xff'] 0.000023040083922856643 0.000022719209180341546 1.39% 1.41% 1.01x
hexbytes_getitem_index[1-b'\\x01'*100] 0.000023377257858844364 0.000022459890393599965 3.92% 4.08% 1.04x
hexbytes_getitem_index[1-b'\\x01'*2048] 0.000023836136536930047 0.00002234346681410037 6.26% 6.68% 1.07x
hexbytes_getitem_index[1-b'\\x01\\x02\\x03'] 0.00002356746369469449 0.000022476705917799448 4.63% 4.85% 1.05x
hexbytes_getitem_index[1-b'\\x10\\x20\\x30\\x40\\x50'] 0.000023714463056989373 0.00002241663198191506 5.47% 5.79% 1.06x
hexbytes_getitem_index[1-b'\\x7f'*8] 0.000023555456778946428 0.000022612292523581414 4.00% 4.17% 1.04x
hexbytes_getitem_index[1-b'\\x80'*8] 0.000023616059900429796 0.000022680962038211247 3.96% 4.12% 1.04x
hexbytes_getitem_index[1-b'\\xde\\xad\\xbe\\xef'] 0.000023525619569814418 0.00002247165310453893 4.48% 4.69% 1.05x
hexbytes_getitem_index[1-b'\\xff'*64] 0.000023462606546888965 0.000022566837727045635 3.82% 3.97% 1.04x
hexbytes_getitem_index[1-b'a'*1024] 0.000023609903127942437 0.00002252098043562403 4.61% 4.84% 1.05x
hexbytes_getitem_index[1-b'abc'] 0.000023686849549726286 0.00002228352897614586 5.92% 6.30% 1.06x
hexbytes_getitem_index[1-long alternating] 0.000023606238777855213 0.000022669726795471872 3.97% 4.13% 1.04x
hexbytes_getitem_index[1-mixed pattern] 0.00002372350677888357 0.00002248679883248668 5.21% 5.50% 1.05x
hexbytes_getitem_index[1-multiples of 0x10] 0.000023902057819742317 0.00002265181314887914 5.23% 5.52% 1.06x
hexbytes_getitem_index[1-palindrome ascii] 0.000023631484621947947 0.000022613095592958498 4.31% 4.50% 1.05x
hexbytes_getitem_index[1-palindrome numeric] 0.000023725753107036857 0.000022492098183624924 5.20% 5.48% 1.05x
hexbytes_getitem_index[1-palindrome] 0.000023755461367887005 0.00002221221658975859 6.50% 6.95% 1.07x
hexbytes_getitem_index[1-repeated 0-9] 0.000023706009366073875 0.00002257099227866135 4.79% 5.03% 1.05x
hexbytes_getitem_index[1-two patterns] 0.000023574508021590664 0.00002242363425265799 4.88% 5.13% 1.05x
hexbytes_getitem_index[2-0-9] 0.000023998489137713683 0.00002344608388388636 2.30% 2.36% 1.02x
hexbytes_getitem_index[2-4-byte pattern] 0.000023982291772375027 0.00002277720611982338 5.02% 5.29% 1.05x
hexbytes_getitem_index[2-all byte values] 0.00002401512147123954 0.000022368454245399396 6.86% 7.36% 1.07x
hexbytes_getitem_index[2-alternating 0x00/0xff] 0.000023796790066134914 0.00002237895471444176 5.96% 6.34% 1.06x
hexbytes_getitem_index[2-alternating 0xaa/0x55] 0.0000236588118254159 0.000022341574888960084 5.57% 5.90% 1.06x
hexbytes_getitem_index[2-ascii sentence] 0.000023846072025254174 0.00002238514020490244 6.13% 6.53% 1.07x
hexbytes_getitem_index[2-b'\\x00'*32] 0.000023714918283796395 0.000022215861895383287 6.32% 6.75% 1.07x
hexbytes_getitem_index[2-b'\\x00\\xff\\x00\\xff'] 0.00002379975554823225 0.000022240188319648304 6.55% 7.01% 1.07x
hexbytes_getitem_index[2-b'\\x01'*100] 0.00002362546949848313 0.000022268780858080792 5.74% 6.09% 1.06x
hexbytes_getitem_index[2-b'\\x01'*2048] 0.000023988703152037445 0.000022797698127063397 4.96% 5.22% 1.05x
hexbytes_getitem_index[2-b'\\x01\\x02\\x03'] 0.000023406718405109723 0.000022110697619882187 5.54% 5.86% 1.06x
hexbytes_getitem_index[2-b'\\x10\\x20\\x30\\x40\\x50'] 0.00002362516051441339 0.000022197051132290524 6.04% 6.43% 1.06x
hexbytes_getitem_index[2-b'\\x7f'*8] 0.000024074642963062315 0.000022737586191592682 5.55% 5.88% 1.06x
hexbytes_getitem_index[2-b'\\x80'*8] 0.000023749444791966194 0.000022788149754476194 4.05% 4.22% 1.04x
hexbytes_getitem_index[2-b'\\xde\\xad\\xbe\\xef'] 0.000023764433186450335 0.00002205569898712215 7.19% 7.75% 1.08x
hexbytes_getitem_index[2-b'\\xff'*64] 0.00002357437994205173 0.00002216060561323993 6.00% 6.38% 1.06x
hexbytes_getitem_index[2-b'a'*1024] 0.000023745577331566618 0.000025068916341936786 -5.57% -5.28% 0.95x
hexbytes_getitem_index[2-b'abc'] 0.000023634808110267333 0.000022485192702490794 4.86% 5.11% 1.05x
hexbytes_getitem_index[2-long alternating] 0.000023894177536667386 0.000022737858233753517 4.84% 5.09% 1.05x
hexbytes_getitem_index[2-mixed pattern] 0.000023793509222498713 0.000022356451883641523 6.04% 6.43% 1.06x
hexbytes_getitem_index[2-multiples of 0x10] 0.00002384648910113312 0.00002214101276194228 7.15% 7.70% 1.08x
hexbytes_getitem_index[2-palindrome ascii] 0.000023739890595729797 0.00002221638961033268 6.42% 6.86% 1.07x
hexbytes_getitem_index[2-palindrome numeric] 0.00002351058191349032 0.000022189400294574357 5.62% 5.95% 1.06x
hexbytes_getitem_index[2-palindrome] 0.000023766204339899035 0.000022408548569508598 5.71% 6.06% 1.06x
hexbytes_getitem_index[2-repeated 0-9] 0.000023584140187264768 0.00002247913110626901 4.69% 4.92% 1.05x
hexbytes_getitem_index[2-two patterns] 0.000023547415249770113 0.00002266199652504231 3.76% 3.91% 1.04x
hexbytes_getitem_index[3-0-9] 0.000023794293400492466 0.000022338823445571118 6.12% 6.52% 1.07x
hexbytes_getitem_index[3-4-byte pattern] 0.000023857375170554236 0.000022153990800210942 7.14% 7.69% 1.08x
hexbytes_getitem_index[3-all byte values] 0.000023848457334105423 0.00002245874381563278 5.83% 6.19% 1.06x
hexbytes_getitem_index[3-alternating 0x00/0xff] 0.00002352715939849002 0.00002252411997912967 4.26% 4.45% 1.04x
hexbytes_getitem_index[3-alternating 0xaa/0x55] 0.000023817097952728095 0.000022674931766029923 4.80% 5.04% 1.05x
hexbytes_getitem_index[3-ascii sentence] 0.000023681852005025927 0.00002262921266611904 4.44% 4.65% 1.05x
hexbytes_getitem_index[3-b'\\x00'*32] 0.00002455340191168415 0.000022714410257194397 7.49% 8.10% 1.08x
hexbytes_getitem_index[3-b'\\x00\\xff\\x00\\xff'] 0.000024265391551559566 0.000022413603428098576 7.63% 8.26% 1.08x
hexbytes_getitem_index[3-b'\\x01'*100] 0.00002398737623385655 0.000022829950111091024 4.83% 5.07% 1.05x
hexbytes_getitem_index[3-b'\\x01'*2048] 0.00002408176086356968 0.000022294315766092537 7.42% 8.02% 1.08x
hexbytes_getitem_index[3-b'\\x10\\x20\\x30\\x40\\x50'] 0.00002393079934601544 0.000021998026235325075 8.08% 8.79% 1.09x
hexbytes_getitem_index[3-b'\\x7f'*8] 0.00002404248239957442 0.000022635685211016486 5.85% 6.21% 1.06x
hexbytes_getitem_index[3-b'\\x80'*8] 0.00002385917428956102 0.000022188663354777983 7.00% 7.53% 1.08x
hexbytes_getitem_index[3-b'\\xde\\xad\\xbe\\xef'] 0.000023511445915904454 0.00002248956886497835 4.35% 4.54% 1.05x
hexbytes_getitem_index[3-b'\\xff'*64] 0.000023997917018990037 0.0000225164791012493 6.17% 6.58% 1.07x
hexbytes_getitem_index[3-b'a'*1024] 0.000023973662346063432 0.000022716810287614008 5.24% 5.53% 1.06x
hexbytes_getitem_index[3-long alternating] 0.000023988756050705807 0.000022436467438863166 6.47% 6.92% 1.07x
hexbytes_getitem_index[3-mixed pattern] 0.000023616533747016063 0.000022757209940247653 3.64% 3.78% 1.04x
hexbytes_getitem_index[3-multiples of 0x10] 0.00002395596192315938 0.000022175249008870764 7.43% 8.03% 1.08x
hexbytes_getitem_index[3-palindrome ascii] 0.00002352758271417077 0.000024151603338283806 -2.65% -2.58% 0.97x
hexbytes_getitem_index[3-palindrome numeric] 0.000023693503528788565 0.00002262132707192097 4.53% 4.74% 1.05x
hexbytes_getitem_index[3-palindrome] 0.00002390620465010476 0.00002246838924211046 6.01% 6.40% 1.06x
hexbytes_getitem_index[3-repeated 0-9] 0.000023324821503478157 0.000022981815367228097 1.47% 1.49% 1.01x
hexbytes_getitem_index[3-two patterns] 0.00002370518615797405 0.000022736295866611474 4.09% 4.26% 1.04x
hexbytes_getitem_index[4-0-9] 0.00002376343819758268 0.000022539975723860227 5.15% 5.43% 1.05x
hexbytes_getitem_index[4-4-byte pattern] 0.000023741019129202134 0.00002260033764851859 4.80% 5.05% 1.05x
hexbytes_getitem_index[4-all byte values] 0.00002362957505438096 0.00002283333185525357 3.37% 3.49% 1.03x
hexbytes_getitem_index[4-alternating 0x00/0xff] 0.000023465778006191704 0.00002296118942863607 2.15% 2.20% 1.02x
hexbytes_getitem_index[4-alternating 0xaa/0x55] 0.000023894317818357222 0.000022471274364814954 5.96% 6.33% 1.06x
hexbytes_getitem_index[4-ascii sentence] 0.00002323444670695732 0.000022608045262190552 2.70% 2.77% 1.03x
hexbytes_getitem_index[4-b'\\x00'*32] 0.0000235327607584398 0.00002261913481613747 3.88% 4.04% 1.04x
hexbytes_getitem_index[4-b'\\x01'*100] 0.00002382033482595645 0.000022943806821283154 3.68% 3.82% 1.04x
hexbytes_getitem_index[4-b'\\x01'*2048] 0.000023771958837674318 0.00002232655375870735 6.08% 6.47% 1.06x
hexbytes_getitem_index[4-b'\\x10\\x20\\x30\\x40\\x50'] 0.00002371773318660061 0.00002263985598200352 4.54% 4.76% 1.05x
hexbytes_getitem_index[4-b'\\x7f'*8] 0.000023604116750287033 0.000022786918052199977 3.46% 3.59% 1.04x
hexbytes_getitem_index[4-b'\\x80'*8] 0.000023422917590168206 0.000022650651174339095 3.30% 3.41% 1.03x
hexbytes_getitem_index[4-b'\\xff'*64] 0.000023526804662268825 0.000022844814222936575 2.90% 2.99% 1.03x
hexbytes_getitem_index[4-b'a'*1024] 0.00002395399818312628 0.00002272325350444064 5.14% 5.42% 1.05x
hexbytes_getitem_index[4-long alternating] 0.000023694869332779995 0.00002265737187388967 4.38% 4.58% 1.05x
hexbytes_getitem_index[4-mixed pattern] 0.000023635651568089196 0.00002252899003471206 4.68% 4.91% 1.05x
hexbytes_getitem_index[4-multiples of 0x10] 0.00002359947477281463 0.00002272298002925969 3.71% 3.86% 1.04x
hexbytes_getitem_index[4-palindrome ascii] 0.000023592682826487885 0.000022171232817727057 6.02% 6.41% 1.06x
hexbytes_getitem_index[4-palindrome numeric] 0.000023654924483192454 0.000022252336241143282 5.93% 6.30% 1.06x
hexbytes_getitem_index[4-palindrome] 0.00002360848473094303 0.000022827791110986643 3.31% 3.42% 1.03x
hexbytes_getitem_index[4-repeated 0-9] 0.00002335415302917999 0.0000225533065030594 3.43% 3.55% 1.04x
hexbytes_getitem_index[4-two patterns] 0.000023813945472982827 0.00002232593600691625 6.25% 6.66% 1.07x
hexbytes_getitem_index[5-0-9] 0.00002336184666659265 0.000022511189551762973 3.64% 3.78% 1.04x
hexbytes_getitem_index[5-4-byte pattern] 0.00002346444562185529 0.00002218258300973947 5.46% 5.78% 1.06x
hexbytes_getitem_index[5-all byte values] 0.000023123547078596375 0.000022567473521934997 2.40% 2.46% 1.02x
hexbytes_getitem_index[5-alternating 0x00/0xff] 0.00002415193569805411 0.000022457097800515857 7.02% 7.55% 1.08x
hexbytes_getitem_index[5-alternating 0xaa/0x55] 0.000023743457256929728 0.000022174712004883534 6.61% 7.07% 1.07x
hexbytes_getitem_index[5-ascii sentence] 0.00002359484102316212 0.000022501743297923334 4.63% 4.86% 1.05x
hexbytes_getitem_index[5-b'\\x00'*32] 0.000023631049273536272 0.000022654487548509676 4.13% 4.31% 1.04x
hexbytes_getitem_index[5-b'\\x01'*100] 0.00002340132143309864 0.00002239458174444176 4.30% 4.50% 1.04x
hexbytes_getitem_index[5-b'\\x01'*2048] 0.000023621669058611647 0.000022415456261049007 5.11% 5.38% 1.05x
hexbytes_getitem_index[5-b'\\x7f'*8] 0.00002377613151853031 0.00002249776355535285 5.38% 5.68% 1.06x
hexbytes_getitem_index[5-b'\\x80'*8] 0.000023600486739651227 0.000022727130498668462 3.70% 3.84% 1.04x
hexbytes_getitem_index[5-b'\\xff'*64] 0.000023663037674552196 0.000022401637868053422 5.33% 5.63% 1.06x
hexbytes_getitem_index[5-b'a'*1024] 0.000023448712273508264 0.00002255472034851619 3.81% 3.96% 1.04x
hexbytes_getitem_index[5-long alternating] 0.00002370742530017795 0.000022276623844709955 6.04% 6.42% 1.06x
hexbytes_getitem_index[5-mixed pattern] 0.00002315256907820102 0.000022456339630901798 3.01% 3.10% 1.03x
hexbytes_getitem_index[5-multiples of 0x10] 0.00002355612208383592 0.000022420591718397566 4.82% 5.06% 1.05x
hexbytes_getitem_index[5-palindrome ascii] 0.000023285732201105 0.000022548250738475896 3.17% 3.27% 1.03x
hexbytes_getitem_index[5-palindrome] 0.00002350644423639053 0.00002294992067706727 2.37% 2.42% 1.02x
hexbytes_getitem_index[5-repeated 0-9] 0.00002359394476445638 0.000022539961784356867 4.47% 4.68% 1.05x
hexbytes_getitem_index[5-two patterns] 0.000023631946133031307 0.000022341919480667456 5.46% 5.77% 1.06x
hexbytes_getitem_slice[slice(-3,None)-0-9] 0.00008115513874414685 0.0000595021890280248 26.68% 36.39% 1.36x
hexbytes_getitem_slice[slice(-3,None)-4-byte pattern] 0.00008222132426490986 0.00005993943608827454 27.10% 37.17% 1.37x
hexbytes_getitem_slice[slice(-3,None)-all byte values] 0.00008250639431163864 0.00005975986999616544 27.57% 38.06% 1.38x
hexbytes_getitem_slice[slice(-3,None)-alternating 0x00/0xff] 0.00008195322790983172 0.00006022196427678269 26.52% 36.09% 1.36x
hexbytes_getitem_slice[slice(-3,None)-alternating 0xaa/0x55] 0.00008130396160753082 0.000059633024403473596 26.65% 36.34% 1.36x
hexbytes_getitem_slice[slice(-3,None)-ascii sentence] 0.00008222817342790807 0.000060303269326880766 26.66% 36.36% 1.36x
hexbytes_getitem_slice[slice(-3,None)-b''] 0.00007844403097046223 0.00005735937967519288 26.88% 36.76% 1.37x
hexbytes_getitem_slice[slice(-3,None)-b'\\x00'*32] 0.00008130361169850668 0.000059840601487839024 26.40% 35.87% 1.36x
hexbytes_getitem_slice[slice(-3,None)-b'\\x00\\xff\\x00\\xff'] 0.00008204330400774354 0.0000592665597876531 27.76% 38.43% 1.38x
hexbytes_getitem_slice[slice(-3,None)-b'\\x01'*100] 0.00008144275613289432 0.00006436334853954214 20.97% 26.54% 1.27x
hexbytes_getitem_slice[slice(-3,None)-b'\\x01'*2048] 0.00008221726002323834 0.000060146246085751 26.84% 36.70% 1.37x
hexbytes_getitem_slice[slice(-3,None)-b'\\x01\\x02\\x03'] 0.00008072131094936157 0.00005928585792194703 26.55% 36.16% 1.36x
hexbytes_getitem_slice[slice(-3,None)-b'\\x10\\x20\\x30\\x40\\x50'] 0.00008201998540324445 0.000060565747430868324 26.16% 35.42% 1.35x
hexbytes_getitem_slice[slice(-3,None)-b'\\x7f'*8] 0.00008123656084751251 0.000060714455762922006 25.26% 33.80% 1.34x
hexbytes_getitem_slice[slice(-3,None)-b'\\x80'*8] 0.00008142499084725281 0.00006723533754243538 17.43% 21.10% 1.21x
hexbytes_getitem_slice[slice(-3,None)-b'\\xde\\xad\\xbe\\xef'] 0.00008188324536102376 0.00005985222538228849 26.91% 36.81% 1.37x
hexbytes_getitem_slice[slice(-3,None)-b'\\xff'*64] 0.00008123660119734918 0.0000593436399022036 26.95% 36.89% 1.37x
hexbytes_getitem_slice[slice(-3,None)-b'a'*1024] 0.00008105905462635728 0.000059051429232384486 27.15% 37.27% 1.37x
hexbytes_getitem_slice[slice(-3,None)-b'abc'] 0.00008175063071496749 0.00006578336040636841 19.53% 24.27% 1.24x
hexbytes_getitem_slice[slice(-3,None)-long alternating] 0.00008249555814152421 0.0000596588486706668 27.68% 38.28% 1.38x
hexbytes_getitem_slice[slice(-3,None)-mixed pattern] 0.00008123992663366403 0.00005937350158369524 26.92% 36.83% 1.37x
hexbytes_getitem_slice[slice(-3,None)-multiples of 0x10] 0.00008185001764071903 0.000059674862077039676 27.09% 37.16% 1.37x
hexbytes_getitem_slice[slice(-3,None)-palindrome ascii] 0.00008268951979295296 0.00005935761415421733 28.22% 39.31% 1.39x
hexbytes_getitem_slice[slice(-3,None)-palindrome numeric] 0.00008266890068556476 0.00005959396320996696 27.91% 38.72% 1.39x
hexbytes_getitem_slice[slice(-3,None)-palindrome] 0.00008264492549244988 0.00005997318596048601 27.43% 37.80% 1.38x
hexbytes_getitem_slice[slice(-3,None)-repeated 0-9] 0.00008208354037072288 0.000060330356379812596 26.50% 36.06% 1.36x
hexbytes_getitem_slice[slice(-3,None)-single 0xff] 0.00008001072261115551 0.000058886797803254014 26.40% 35.87% 1.36x
hexbytes_getitem_slice[slice(-3,None)-single null byte] 0.00008028099816172456 0.00005971946414674181 25.61% 34.43% 1.34x
hexbytes_getitem_slice[slice(-3,None)-two patterns] 0.00008182453456584878 0.00006025389247567472 26.36% 35.80% 1.36x
hexbytes_getitem_slice[slice(0,3)-0-9] 0.00008381674081965097 0.000060709582150338106 27.57% 38.06% 1.38x
hexbytes_getitem_slice[slice(0,3)-4-byte pattern] 0.00008323024050452306 0.00006027123555732948 27.58% 38.09% 1.38x
hexbytes_getitem_slice[slice(0,3)-all byte values] 0.00008359958286325568 0.00006103343881519914 26.99% 36.97% 1.37x
hexbytes_getitem_slice[slice(0,3)-alternating 0x00/0xff] 0.00008209307123426014 0.000060313408395296554 26.53% 36.11% 1.36x
hexbytes_getitem_slice[slice(0,3)-alternating 0xaa/0x55] 0.00008222577047936391 0.00006049720893308552 26.43% 35.92% 1.36x
hexbytes_getitem_slice[slice(0,3)-ascii sentence] 0.00008239913875927189 0.00006013011035171872 27.03% 37.03% 1.37x
hexbytes_getitem_slice[slice(0,3)-b''] 0.00007976199686235395 0.00005877604891045189 26.31% 35.70% 1.36x
hexbytes_getitem_slice[slice(0,3)-b'\\x00'*32] 0.00008181123143483375 0.00006060099514291477 25.93% 35.00% 1.35x
hexbytes_getitem_slice[slice(0,3)-b'\\x00\\xff\\x00\\xff'] 0.00008193962782210614 0.00006102556241177957 25.52% 34.27% 1.34x
hexbytes_getitem_slice[slice(0,3)-b'\\x01'*100] 0.00008183386004130116 0.000060689757639204 25.84% 34.84% 1.35x
hexbytes_getitem_slice[slice(0,3)-b'\\x01'*2048] 0.0000827243104832935 0.000060167482833418126 27.27% 37.49% 1.37x
hexbytes_getitem_slice[slice(0,3)-b'\\x01\\x02\\x03'] 0.00008221270000860183 0.00006120372268254485 25.55% 34.33% 1.34x
hexbytes_getitem_slice[slice(0,3)-b'\\x10\\x20\\x30\\x40\\x50'] 0.00008200088636250682 0.000060943264861499936 25.68% 34.55% 1.35x
hexbytes_getitem_slice[slice(0,3)-b'\\x7f'*8] 0.00008211246651836401 0.000060443812083616916 26.39% 35.85% 1.36x
hexbytes_getitem_slice[slice(0,3)-b'\\x80'*8] 0.00008224211384944868 0.000059575328525553574 27.56% 38.05% 1.38x
hexbytes_getitem_slice[slice(0,3)-b'\\xde\\xad\\xbe\\xef'] 0.00008256117386464684 0.00005974209109047122 27.64% 38.20% 1.38x
hexbytes_getitem_slice[slice(0,3)-b'\\xff'*64] 0.00008294090220350745 0.00006102140751308198 26.43% 35.92% 1.36x
hexbytes_getitem_slice[slice(0,3)-b'a'*1024] 0.00008313012591519911 0.00006089098681594604 26.75% 36.52% 1.37x
hexbytes_getitem_slice[slice(0,3)-b'abc'] 0.00008349982595756342 0.00006084798644214189 27.13% 37.23% 1.37x
hexbytes_getitem_slice[slice(0,3)-long alternating] 0.0000834040904929404 0.00005995760942686823 28.11% 39.11% 1.39x
hexbytes_getitem_slice[slice(0,3)-mixed pattern] 0.00008239154079452492 0.00006068693494258014 26.34% 35.76% 1.36x
hexbytes_getitem_slice[slice(0,3)-multiples of 0x10] 0.00008215954677155807 0.00006069978084638907 26.12% 35.35% 1.35x
hexbytes_getitem_slice[slice(0,3)-palindrome ascii] 0.00008277419533263478 0.00006029566788650152 27.16% 37.28% 1.37x
hexbytes_getitem_slice[slice(0,3)-palindrome numeric] 0.0000829800279237956 0.000059830917219072126 27.90% 38.69% 1.39x
hexbytes_getitem_slice[slice(0,3)-palindrome] 0.00008244530513659022 0.0000617797951912097 25.07% 33.45% 1.33x
hexbytes_getitem_slice[slice(0,3)-repeated 0-9] 0.00008223328973856518 0.0000602705478670383 26.71% 36.44% 1.36x
hexbytes_getitem_slice[slice(0,3)-single 0xff] 0.00008241761732865977 0.000058284794429243567 29.28% 41.41% 1.41x
hexbytes_getitem_slice[slice(0,3)-single null byte] 0.00008217236359062221 0.000058541868020699264 28.76% 40.37% 1.40x
hexbytes_getitem_slice[slice(0,3)-two patterns] 0.00008197419914259517 0.00006022090632042056 26.54% 36.12% 1.36x
hexbytes_getitem_slice[slice(1,6)-0-9] 0.00008108281670263763 0.00006055314001140313 25.32% 33.90% 1.34x
hexbytes_getitem_slice[slice(1,6)-4-byte pattern] 0.00008183666983960908 0.00006073307116853632 25.79% 34.75% 1.35x
hexbytes_getitem_slice[slice(1,6)-all byte values] 0.00008213630781628237 0.00006033489802685313 26.54% 36.13% 1.36x
hexbytes_getitem_slice[slice(1,6)-alternating 0x00/0xff] 0.00008198061706182821 0.00006036210341833188 26.37% 35.81% 1.36x
hexbytes_getitem_slice[slice(1,6)-alternating 0xaa/0x55] 0.00007978132615657232 0.00006114148229467334 23.36% 30.49% 1.30x
hexbytes_getitem_slice[slice(1,6)-ascii sentence] 0.00008165702459417695 0.00006072463826483535 25.63% 34.47% 1.34x
hexbytes_getitem_slice[slice(1,6)-b''] 0.00008183438053151185 0.00005798411092666334 29.14% 41.13% 1.41x
hexbytes_getitem_slice[slice(1,6)-b'\\x00'*32] 0.00008410719363571121 0.00006027415741645401 28.34% 39.54% 1.40x
hexbytes_getitem_slice[slice(1,6)-b'\\x00\\xff\\x00\\xff'] 0.0000825008286753904 0.000059634708242469465 27.72% 38.34% 1.38x
hexbytes_getitem_slice[slice(1,6)-b'\\x01'*100] 0.000082854662867681 0.00006002912785499384 27.55% 38.02% 1.38x
hexbytes_getitem_slice[slice(1,6)-b'\\x01'*2048] 0.00008149483836964896 0.000060819444471648365 25.37% 33.99% 1.34x
hexbytes_getitem_slice[slice(1,6)-b'\\x01\\x02\\x03'] 0.00008188508611254507 0.00005945517941915453 27.39% 37.73% 1.38x
hexbytes_getitem_slice[slice(1,6)-b'\\x10\\x20\\x30\\x40\\x50'] 0.00008224706868317262 0.000060289712711249045 26.70% 36.42% 1.36x
hexbytes_getitem_slice[slice(1,6)-b'\\x7f'*8] 0.00008247543851956726 0.000060518887220682805 26.62% 36.28% 1.36x
hexbytes_getitem_slice[slice(1,6)-b'\\x80'*8] 0.00008280701633346955 0.00006001159260870606 27.53% 37.99% 1.38x
hexbytes_getitem_slice[slice(1,6)-b'\\xde\\xad\\xbe\\xef'] 0.00008225726934613469 0.000060170315290926534 26.85% 36.71% 1.37x
hexbytes_getitem_slice[slice(1,6)-b'\\xff'*64] 0.00008298671431043438 0.00005960528562433987 28.17% 39.23% 1.39x
hexbytes_getitem_slice[slice(1,6)-b'a'*1024] 0.00008212784427988948 0.00005989780457924381 27.07% 37.11% 1.37x
hexbytes_getitem_slice[slice(1,6)-b'abc'] 0.00008303101010702895 0.00006052646629874812 27.10% 37.18% 1.37x
hexbytes_getitem_slice[slice(1,6)-long alternating] 0.00008180504881873317 0.00006100448956935553 25.43% 34.10% 1.34x
hexbytes_getitem_slice[slice(1,6)-mixed pattern] 0.0000823448274322438 0.000060457395262068024 26.58% 36.20% 1.36x
hexbytes_getitem_slice[slice(1,6)-multiples of 0x10] 0.00008165344887041734 0.000060518986392860043 25.88% 34.92% 1.35x
hexbytes_getitem_slice[slice(1,6)-palindrome ascii] 0.00008147087909801374 0.00005960605496123388 26.84% 36.68% 1.37x
hexbytes_getitem_slice[slice(1,6)-palindrome numeric] 0.00008304762977919073 0.000060562845142425506 27.07% 37.13% 1.37x
hexbytes_getitem_slice[slice(1,6)-palindrome] 0.00008186402627394758 0.0000601702954804843 26.50% 36.05% 1.36x
hexbytes_getitem_slice[slice(1,6)-repeated 0-9] 0.00008285333658915993 0.000060765347207282726 26.66% 36.35% 1.36x
hexbytes_getitem_slice[slice(1,6)-single 0xff] 0.00008271023904178792 0.000057854232076168625 30.05% 42.96% 1.43x
hexbytes_getitem_slice[slice(1,6)-single null byte] 0.00008043333442855079 0.00005827801322434058 27.54% 38.02% 1.38x
hexbytes_getitem_slice[slice(1,6)-two patterns] 0.0000824460249251523 0.00006077112110418496 26.29% 35.67% 1.36x
hexbytes_getitem_slice[slice(2,None)-0-9] 0.00008153994898977703 0.00005988007500814498 26.56% 36.17% 1.36x
hexbytes_getitem_slice[slice(2,None)-4-byte pattern] 0.00008352585015296563 0.00006281514480138058 24.80% 32.97% 1.33x
hexbytes_getitem_slice[slice(2,None)-all byte values] 0.00008370761496203274 0.00006179200484117697 26.18% 35.47% 1.35x
hexbytes_getitem_slice[slice(2,None)-alternating 0x00/0xff] 0.00008223184031832544 0.000060480282339713455 26.45% 35.96% 1.36x
hexbytes_getitem_slice[slice(2,None)-alternating 0xaa/0x55] 0.00008221732761900571 0.00006074361524495936 26.12% 35.35% 1.35x
hexbytes_getitem_slice[slice(2,None)-ascii sentence] 0.00008110822804949641 0.00006035080688737728 25.59% 34.39% 1.34x
hexbytes_getitem_slice[slice(2,None)-b''] 0.00007891836166345396 0.00005848705068022742 25.89% 34.93% 1.35x
hexbytes_getitem_slice[slice(2,None)-b'\\x00'*32] 0.0000821171269479013 0.00006095719832557699 25.77% 34.71% 1.35x
hexbytes_getitem_slice[slice(2,None)-b'\\x00\\xff\\x00\\xff'] 0.00008210592792587396 0.00006124197462857818 25.41% 34.07% 1.34x
hexbytes_getitem_slice[slice(2,None)-b'\\x01'*100] 0.00008195535064513592 0.00006089653287276711 25.70% 34.58% 1.35x
hexbytes_getitem_slice[slice(2,None)-b'\\x01'*2048] 0.00010458406560794769 0.00007663045301225792 26.73% 36.48% 1.36x
hexbytes_getitem_slice[slice(2,None)-b'\\x01\\x02\\x03'] 0.00007966240687352676 0.0000586247054440532 26.41% 35.89% 1.36x
hexbytes_getitem_slice[slice(2,None)-b'\\x10\\x20\\x30\\x40\\x50'] 0.0000814786530508491 0.00005981709509398763 26.59% 36.21% 1.36x
hexbytes_getitem_slice[slice(2,None)-b'\\x7f'*8] 0.00008173136316790548 0.00006092352983508284 25.46% 34.15% 1.34x
hexbytes_getitem_slice[slice(2,None)-b'\\x80'*8] 0.00008096873912985652 0.00006118385820581155 24.44% 32.34% 1.32x
hexbytes_getitem_slice[slice(2,None)-b'\\xde\\xad\\xbe\\xef'] 0.00008142181408107655 0.00006117001411189726 24.87% 33.11% 1.33x
hexbytes_getitem_slice[slice(2,None)-b'\\xff'*64] 0.00008154514377722727 0.000060562497095840985 25.73% 34.65% 1.35x
hexbytes_getitem_slice[slice(2,None)-b'a'*1024] 0.00009738282145813854 0.00007449805581280554 23.50% 30.72% 1.31x
hexbytes_getitem_slice[slice(2,None)-b'abc'] 0.00007925656838260516 0.00005861463820663293 26.04% 35.22% 1.35x
hexbytes_getitem_slice[slice(2,None)-long alternating] 0.00009804989128693989 0.00007171225630337301 26.86% 36.73% 1.37x
hexbytes_getitem_slice[slice(2,None)-mixed pattern] 0.00008223873686881984 0.00006134978503571108 25.40% 34.05% 1.34x
hexbytes_getitem_slice[slice(2,None)-multiples of 0x10] 0.0000811732830950653 0.000060781609661222066 25.12% 33.55% 1.34x
hexbytes_getitem_slice[slice(2,None)-palindrome ascii] 0.00008129003846882351 0.000060511211716714016 25.56% 34.34% 1.34x
hexbytes_getitem_slice[slice(2,None)-palindrome numeric] 0.00008140349877843727 0.000060568558739585795 25.59% 34.40% 1.34x
hexbytes_getitem_slice[slice(2,None)-palindrome] 0.0000815226702758344 0.00006103647202992393 25.13% 33.56% 1.34x
hexbytes_getitem_slice[slice(2,None)-repeated 0-9] 0.00008243049114311532 0.00006052762525939902 26.57% 36.19% 1.36x
hexbytes_getitem_slice[slice(2,None)-single 0xff] 0.00007877536764708437 0.000058078982574011665 26.27% 35.63% 1.36x
hexbytes_getitem_slice[slice(2,None)-single null byte] 0.00007864738595705169 0.000058142641765214376 26.07% 35.27% 1.35x
hexbytes_getitem_slice[slice(2,None)-two patterns] 0.00008085233754769934 0.0000609128686947237 24.66% 32.73% 1.33x
hexbytes_getitem_slice[slice(None,None)-0-9] 0.00008038153698426694 0.00006022440203715625 25.08% 33.47% 1.33x
hexbytes_getitem_slice[slice(None,None)-4-byte pattern] 0.00008199948951170692 0.00006175841514448217 24.68% 32.77% 1.33x
hexbytes_getitem_slice[slice(None,None)-all byte values] 0.00008185275660976672 0.00006225265541726483 23.95% 31.48% 1.31x
hexbytes_getitem_slice[slice(None,None)-alternating 0x00/0xff] 0.00008075341762412355 0.00006119701723387336 24.22% 31.96% 1.32x
hexbytes_getitem_slice[slice(None,None)-alternating 0xaa/0x55] 0.00008009321055400715 0.000061266605933724 23.51% 30.73% 1.31x
hexbytes_getitem_slice[slice(None,None)-ascii sentence] 0.00007920983878318183 0.00006144018071226397 22.43% 28.92% 1.29x
hexbytes_getitem_slice[slice(None,None)-b''] 0.00007783391892931968 0.0000574976297117836 26.13% 35.37% 1.35x
hexbytes_getitem_slice[slice(None,None)-b'\\x00'*32] 0.00007966132555743411 0.00006041603323122749 24.16% 31.85% 1.32x
hexbytes_getitem_slice[slice(None,None)-b'\\x00\\xff\\x00\\xff'] 0.00008055965742416022 0.00006063371348950849 24.73% 32.86% 1.33x
hexbytes_getitem_slice[slice(None,None)-b'\\x01'*100] 0.00008071019009404385 0.00006113743080907715 24.25% 32.01% 1.32x
hexbytes_getitem_slice[slice(None,None)-b'\\x01'*2048] 0.00010184679107342065 0.00008050741706023722 20.95% 26.51% 1.27x
hexbytes_getitem_slice[slice(None,None)-b'\\x01\\x02\\x03'] 0.00008075085132403333 0.00006091928894331601 24.56% 32.55% 1.33x
hexbytes_getitem_slice[slice(None,None)-b'\\x10\\x20\\x30\\x40\\x50'] 0.0000806162721701427 0.0000599719121009488 25.61% 34.42% 1.34x
hexbytes_getitem_slice[slice(None,None)-b'\\x7f'*8] 0.00008066363566406665 0.000059372335101379506 26.40% 35.86% 1.36x
hexbytes_getitem_slice[slice(None,None)-b'\\x80'*8] 0.00008013027388250686 0.000059969960717394894 25.16% 33.62% 1.34x
hexbytes_getitem_slice[slice(None,None)-b'\\xde\\xad\\xbe\\xef'] 0.0000804127183607506 0.0000601731273883505 25.17% 33.64% 1.34x
hexbytes_getitem_slice[slice(None,None)-b'\\xff'*64] 0.00007916449114716778 0.00006198501369031548 21.70% 27.72% 1.28x
hexbytes_getitem_slice[slice(None,None)-b'a'*1024] 0.00009658798302820013 0.00007130438045184412 26.18% 35.46% 1.35x
hexbytes_getitem_slice[slice(None,None)-b'abc'] 0.00008107790441319062 0.00006057256433802843 25.29% 33.85% 1.34x
hexbytes_getitem_slice[slice(None,None)-long alternating] 0.00009608866027553766 0.00007592118227756069 20.99% 26.56% 1.27x
hexbytes_getitem_slice[slice(None,None)-mixed pattern] 0.00008071007773137505 0.00006229582033404214 22.82% 29.56% 1.30x
hexbytes_getitem_slice[slice(None,None)-multiples of 0x10] 0.00008074639607131949 0.000060221232430278974 25.42% 34.08% 1.34x
hexbytes_getitem_slice[slice(None,None)-palindrome ascii] 0.00008159260604029031 0.000060170164021878106 26.26% 35.60% 1.36x
hexbytes_getitem_slice[slice(None,None)-palindrome numeric] 0.00008086258764243559 0.00005990123231698494 25.92% 34.99% 1.35x
hexbytes_getitem_slice[slice(None,None)-palindrome] 0.00008011922253750848 0.00005880022086397788 26.61% 36.26% 1.36x
hexbytes_getitem_slice[slice(None,None)-repeated 0-9] 0.00008017951382788316 0.0000613486115145191 23.49% 30.69% 1.31x
hexbytes_getitem_slice[slice(None,None)-single 0xff] 0.00007737108600176452 0.00005829834149097965 24.65% 32.72% 1.33x
hexbytes_getitem_slice[slice(None,None)-single null byte] 0.00007726792142638703 0.00005828212781870286 24.57% 32.58% 1.33x
hexbytes_getitem_slice[slice(None,None)-two patterns] 0.00008052274562379675 0.000060967530687619914 24.29% 32.07% 1.32x
hexbytes_new[''] 0.00007062679957708129 0.000036865770037947815 47.80% 91.58% 1.92x
hexbytes_new['0x'] 0.00007917195805813772 0.00003792969315383456 52.09% 108.73% 2.09x
hexbytes_new['0x'+'00'*64] 0.00009217242493498498 0.00005131677784299057 44.33% 79.61% 1.80x
hexbytes_new['0x'+'a'*128] 0.00009322863980645219 0.00005052795876791036 45.80% 84.51% 1.85x
hexbytes_new['0x'+'ff'*32] 0.00008844933371128383 0.00004672545516665702 47.17% 89.30% 1.89x
hexbytes_new['0x1234'] 0.00008716321758960446 0.000044452710812586946 49.00% 96.08% 1.96x
hexbytes_new['0xabcdef'] 0.00008704367839199109 0.0000456473623934204 47.56% 90.69% 1.91x
hexbytes_new['0xCAFEBABE'] 0.00008558094947316474 0.00004440786478692646 48.11% 92.72% 1.93x
hexbytes_new['0xdeadbeef'] 0.00008733708450472336 0.000044871875238037676 48.62% 94.64% 1.95x
hexbytes_new['abc'] 0.00008336063922531473 0.00004825350999776504 42.11% 72.76% 1.73x
hexbytes_new['deadbeef'] 0.00007792461413209016 0.000041286335867472476 47.02% 88.74% 1.89x
hexbytes_new[0-9] 0.00004254256488450257 0.000027396182799416276 35.60% 55.29% 1.55x
hexbytes_new[0] 0.00012267080652978717 0.00006157349627039085 49.81% 99.23% 1.99x
hexbytes_new[123456] 0.00012687246726957206 0.00006626375083503735 47.77% 91.47% 1.91x
hexbytes_new[2**16] 0.00012795086259521354 0.00006545937844176015 48.84% 95.47% 1.95x
hexbytes_new[2**256-1] 0.00013092067690618914 0.00007346189586462709 43.89% 78.22% 1.78x
hexbytes_new[2**32] 0.0001293000317499747 0.00006924522884065338 46.45% 86.73% 1.87x
hexbytes_new[2**64] 0.00013013477521917562 0.00007156578045067828 45.01% 81.84% 1.82x
hexbytes_new[2**8] 0.00012585632721523346 0.00006440004976167638 48.83% 95.43% 1.95x
hexbytes_new[4-byte pattern] 0.00004366734302097222 0.00002673068259236545 38.79% 63.36% 1.63x
hexbytes_new[all byte values] 0.0000436801516800513 0.000026816405553806417 38.61% 62.89% 1.63x
hexbytes_new[alternating 0x00/0xff] 0.00004348470781455881 0.00002665655041048447 38.70% 63.13% 1.63x
hexbytes_new[alternating 0xaa/0x55] 0.00004323060836570481 0.000026904606786622452 37.76% 60.68% 1.61x
hexbytes_new[ascii sentence] 0.000042902336703983166 0.000027129215872781606 36.77% 58.14% 1.58x
hexbytes_new[b''] 0.000042532013547654743 0.000026659430421800845 37.32% 59.54% 1.60x
hexbytes_new[b'\\x00'*32] 0.000043664533159061 0.000026630047356269596 39.01% 63.97% 1.64x
hexbytes_new[b'\\x00\\xff\\x00\\xff'] 0.000043474960542139464 0.00002740168928043055 36.97% 58.66% 1.59x
hexbytes_new[b'\\x01'*100] 0.0000428742665048902 0.000027114297937761022 36.76% 58.12% 1.58x
hexbytes_new[b'\\x01'*2048] 0.000056271724592317425 0.00003839810783514888 31.76% 46.55% 1.47x
hexbytes_new[b'\\x01\\x02\\x03'] 0.00004317089160492416 0.000026789013215191745 37.95% 61.15% 1.61x
hexbytes_new[b'\\x10\\x20\\x30\\x40\\x50'] 0.00004309149296504087 0.00002695604114490339 37.44% 59.86% 1.60x
hexbytes_new[b'\\x7f'*8] 0.00004323103716011213 0.00002687095866712496 37.84% 60.88% 1.61x
hexbytes_new[b'\\x80'*8] 0.000042838865730617984 0.000027089523515536722 36.76% 58.14% 1.58x
hexbytes_new[b'\\xde\\xad\\xbe\\xef'] 0.00004359075425144315 0.00002658739338924412 39.01% 63.95% 1.64x
hexbytes_new[b'\\xff'*64] 0.0000425043611285808 0.00002686328748358885 36.80% 58.22% 1.58x
hexbytes_new[b'a'*1024] 0.000050957564927124056 0.00003324717492405524 34.76% 53.27% 1.53x
hexbytes_new[b'abc'] 0.00004232885775752248 0.000026795452551875402 36.70% 57.97% 1.58x
hexbytes_new[bytearray(0-9)] 0.00006992145600988846 0.00003883067471989659 44.47% 80.07% 1.80x
hexbytes_new[bytearray(4-byte pattern)] 0.00007064333163730875 0.00003750508127026249 46.91% 88.36% 1.88x
hexbytes_new[bytearray(all byte values)] 0.00006816793767368741 0.00003768698606162488 44.71% 80.88% 1.81x
hexbytes_new[bytearray(alternating 0x00/0xff)] 0.00006995712342035211 0.000037425791149472664 46.50% 86.92% 1.87x
hexbytes_new[bytearray(alternating 0xaa/0x55)] 0.00007053140227064655 0.00003773070953151376 46.51% 86.93% 1.87x
hexbytes_new[bytearray(ascii sentence)] 0.00006803641545165089 0.00003835041724104819 43.63% 77.41% 1.77x
hexbytes_new[bytearray(b'')] 0.0000674142855510099 0.00003682476108340745 45.38% 83.07% 1.83x
hexbytes_new[bytearray(b'\\x00'*32)] 0.0000698280467271839 0.00003804337617125661 45.52% 83.55% 1.84x
hexbytes_new[bytearray(b'\\x00\\xff\\x00\\xff')] 0.0000697477463299546 0.000038515601478875556 44.78% 81.09% 1.81x
hexbytes_new[bytearray(b'\\x01'*100)] 0.00006985249039310386 0.000038252509439653466 45.24% 82.61% 1.83x
hexbytes_new[bytearray(b'\\x01'*2048)] 0.00009255584269588583 0.000055340323813815506 40.21% 67.25% 1.67x
hexbytes_new[bytearray(b'\\x01\\x02\\x03')] 0.00007053296550961798 0.00003709041248559051 47.41% 90.16% 1.90x
hexbytes_new[bytearray(b'\\x10\\x20\\x30\\x40\\x50')] 0.00007120285615454362 0.000037435173703904637 47.42% 90.20% 1.90x
hexbytes_new[bytearray(b'\\x7f'*8)] 0.00006763734872919624 0.000038974825460053125 42.38% 73.54% 1.74x
hexbytes_new[bytearray(b'\\x80'*8)] 0.00006829954899290094 0.00003898949562674841 42.91% 75.17% 1.75x
hexbytes_new[bytearray(b'\\xde\\xad\\xbe\\xef')] 0.00007073744288752026 0.00003765136883140869 46.77% 87.87% 1.88x
hexbytes_new[bytearray(b'\\xff'*64)] 0.00007004323986246596 0.0000378405300258781 45.98% 85.10% 1.85x
hexbytes_new[bytearray(b'a'*1024)] 0.0000851756564033705 0.00004930273220204604 42.12% 72.76% 1.73x
hexbytes_new[bytearray(b'abc')] 0.0000708878032414406 0.00003810210667060392 46.25% 86.05% 1.86x
hexbytes_new[bytearray(long alternating)] 0.00008565400045047725 0.000048919392579318876 42.89% 75.09% 1.75x
hexbytes_new[bytearray(mixed pattern)] 0.00006957777986339588 0.00003765640477262909 45.88% 84.77% 1.85x
hexbytes_new[bytearray(multiples of 0x10)] 0.00006951867876368204 0.00003754017320544251 46.00% 85.18% 1.85x
hexbytes_new[bytearray(palindrome ascii)] 0.0000702113420481268 0.00003863187640265553 44.98% 81.74% 1.82x
hexbytes_new[bytearray(palindrome numeric)] 0.00007038297940675924 0.00003842189662175068 45.41% 83.18% 1.83x
hexbytes_new[bytearray(palindrome)] 0.00006932466208202266 0.00003746737117346501 45.95% 85.03% 1.85x
hexbytes_new[bytearray(repeated 0-9)] 0.00006881887765242333 0.00003779591794460603 45.08% 82.08% 1.82x
hexbytes_new[bytearray(single 0xff)] 0.00006783559461706811 0.00003757378265051083 44.61% 80.54% 1.81x
hexbytes_new[bytearray(single null byte)] 0.00007154244047901767 0.000037770081555933074 47.21% 89.42% 1.89x
hexbytes_new[bytearray(two patterns)] 0.00006903408099222827 0.00003833490148332012 44.47% 80.08% 1.80x
hexbytes_new[False] 0.000060235933889226925 0.000027858332265267803 53.75% 116.22% 2.16x
hexbytes_new[long alternating] 0.000050818474305483656 0.00003313448523068097 34.80% 53.37% 1.53x
hexbytes_new[memoryview(0-9)] 0.00008466658850729778 0.00004490143520596495 46.97% 88.56% 1.89x
hexbytes_new[memoryview(4-byte pattern)] 0.00008507006486470918 0.00004405316311051472 48.22% 93.11% 1.93x
hexbytes_new[memoryview(all byte values)] 0.00008736792153758885 0.00004415922083638932 49.46% 97.85% 1.98x
hexbytes_new[memoryview(alternating 0x00/0xff)] 0.00008509709792869211 0.000043276766796625575 49.14% 96.63% 1.97x
hexbytes_new[memoryview(alternating 0xaa/0x55)] 0.00008456928963902133 0.00004287676921669681 49.30% 97.24% 1.97x
hexbytes_new[memoryview(ascii sentence)] 0.00008452085153340062 0.000043204588888292136 48.88% 95.63% 1.96x
hexbytes_new[memoryview(b'')] 0.00008255795592003341 0.000040863985390591875 50.50% 102.03% 2.02x
hexbytes_new[memoryview(b'\\x00'*32)] 0.00008387142985551319 0.0000427993897469858 48.97% 95.96% 1.96x
hexbytes_new[memoryview(b'\\x00\\xff\\x00\\xff')] 0.0000837439149029464 0.00004394018575066582 47.53% 90.59% 1.91x
hexbytes_new[memoryview(b'\\x01'*100)] 0.00008514629903852127 0.000043063622708062283 49.42% 97.72% 1.98x
hexbytes_new[memoryview(b'\\x01'*2048)] 0.00010571220084029144 0.00006267879857253205 40.71% 68.66% 1.69x
hexbytes_new[memoryview(b'\\x01\\x02\\x03')] 0.00008436055090189876 0.000044125581093413786 47.69% 91.18% 1.91x
hexbytes_new[memoryview(b'\\x10\\x20\\x30\\x40\\x50')] 0.00008417540998454398 0.00004304228768285776 48.87% 95.56% 1.96x
hexbytes_new[memoryview(b'\\x7f'*8)] 0.0000839393716603537 0.000043378899134265845 48.32% 93.50% 1.94x
hexbytes_new[memoryview(b'\\x80'*8)] 0.00008209448834196217 0.0000442110236402266 46.15% 85.69% 1.86x
hexbytes_new[memoryview(b'\\xde\\xad\\xbe\\xef')] 0.00008369282630024728 0.00004378409365048234 47.68% 91.15% 1.91x
hexbytes_new[memoryview(b'\\xff'*64)] 0.00008507088209546702 0.00004358492232474152 48.77% 95.18% 1.95x
hexbytes_new[memoryview(b'a'*1024)] 0.0000987781493114017 0.00005468582222655335 44.64% 80.63% 1.81x
hexbytes_new[memoryview(b'abc')] 0.00008565871026426963 0.000042924068722723805 49.89% 99.56% 2.00x
hexbytes_new[memoryview(long alternating)] 0.00009919251665069738 0.000055854849882132624 43.69% 77.59% 1.78x
hexbytes_new[memoryview(mixed pattern)] 0.00008585665735886345 0.000043838243547834186 48.94% 95.85% 1.96x
hexbytes_new[memoryview(multiples of 0x10)] 0.00008345048081782639 0.00004411976975272143 47.13% 89.15% 1.89x
hexbytes_new[memoryview(palindrome ascii)] 0.00008691418865616331 0.00004291547540971809 50.62% 102.52% 2.03x
hexbytes_new[memoryview(palindrome numeric)] 0.00008423552468109311 0.000043751371614859695 48.06% 92.53% 1.93x
hexbytes_new[memoryview(palindrome)] 0.00008355656757753033 0.000043172068659273666 48.33% 93.54% 1.94x
hexbytes_new[memoryview(repeated 0-9)] 0.00008452619423162419 0.00004382537033202446 48.15% 92.87% 1.93x
hexbytes_new[memoryview(single 0xff)] 0.0000860412197448055 0.000042786319618829673 50.27% 101.10% 2.01x
hexbytes_new[memoryview(single null byte)] 0.00008496557598399803 0.000043862586344511594 48.38% 93.71% 1.94x
hexbytes_new[memoryview(two patterns)] 0.0000848606727420044 0.00004343721606378676 48.81% 95.36% 1.95x
hexbytes_new[mixed pattern] 0.00004317629089659255 0.000026507319397830763 38.61% 62.88% 1.63x
hexbytes_new[multiples of 0x10] 0.0000427678718889955 0.00002731150633481827 36.14% 56.59% 1.57x
hexbytes_new[palindrome ascii] 0.000042584030465841625 0.000027401708846699254 35.65% 55.41% 1.55x
hexbytes_new[palindrome numeric] 0.00004242270722274537 0.0000270927077561378 36.14% 56.58% 1.57x
hexbytes_new[palindrome] 0.0000436640433610804 0.000026781310871007 38.67% 63.04% 1.63x
hexbytes_new[repeated 0-9] 0.00004325560083455797 0.000027018758094839726 37.54% 60.09% 1.60x
hexbytes_new[single 0xff] 0.00004200370058218503 0.00002678174526806341 36.24% 56.84% 1.57x
hexbytes_new[single null byte] 0.00004287703837568771 0.000026653741081746385 37.84% 60.87% 1.61x
hexbytes_new[True] 0.00006014469109346338 0.000027913264251559174 53.59% 115.47% 2.15x
hexbytes_new[two patterns] 0.000042500898771306216 0.000027026324457122602 36.41% 57.26% 1.57x
hexbytes_repr[0-9] 0.00002938075187750636 0.000014809360696412906 49.60% 98.39% 1.98x
hexbytes_repr[4-byte pattern] 0.00011969310975386971 0.00004067056836701714 66.02% 194.30% 2.94x
hexbytes_repr[all byte values] 0.0001197905385393199 0.00004067597273695548 66.04% 194.50% 2.94x
hexbytes_repr[alternating 0x00/0xff] 0.00004893261317027485 0.00002028125170352485 58.55% 141.27% 2.41x
hexbytes_repr[alternating 0xaa/0x55] 0.000049621831182850884 0.000020124675091911615 59.44% 146.57% 2.47x
hexbytes_repr[ascii sentence] 0.000042044704745597606 0.000018152715744110713 56.83% 131.62% 2.32x
hexbytes_repr[b''] 0.00002121608861970493 0.000012259105897358447 42.22% 73.06% 1.73x
hexbytes_repr[b'\\x00'*32] 0.00003675480563075217 0.000016983883001189365 53.79% 116.41% 2.16x
hexbytes_repr[b'\\x00\\xff\\x00\\xff'] 0.000026642708826463603 0.00001422234242987713 46.62% 87.33% 1.87x
hexbytes_repr[b'\\x01'*100] 0.00006319317565423904 0.0000236650051784312 62.55% 167.03% 2.67x
hexbytes_repr[b'\\x01'*2048] 0.0007663272608672202 0.00022195546751178628 71.04% 245.26% 3.45x
hexbytes_repr[b'\\x01\\x02\\x03'] 0.00002655233545905478 0.000013941042421446248 47.50% 90.46% 1.90x
hexbytes_repr[b'\\x10\\x20\\x30\\x40\\x50'] 0.000027085769488634872 0.000014400107190463666 46.84% 88.09% 1.88x
hexbytes_repr[b'\\x7f'*8] 0.000028832941071485253 0.000014488820648814902 49.75% 99.00% 1.99x
hexbytes_repr[b'\\x80'*8] 0.000028710001189914874 0.00001450683888293849 49.47% 97.91% 1.98x
hexbytes_repr[b'\\xde\\xad\\xbe\\xef'] 0.000026163160295434292 0.000014074981492245535 46.20% 85.88% 1.86x
hexbytes_repr[b'\\xff'*64] 0.000048703161963583764 0.0000202719449979461 58.38% 140.25% 2.40x
hexbytes_repr[b'a'*1024] 0.00039548756307064445 0.00011889538722194092 69.94% 232.63% 3.33x
hexbytes_repr[b'abc'] 0.000026270201319675568 0.000014135073059951063 46.19% 85.85% 1.86x
hexbytes_repr[long alternating] 0.0004004919114963275 0.0001223474556544336 69.45% 227.34% 3.27x
hexbytes_repr[mixed pattern] 0.00009770139589661241 0.00003370022477050578 65.51% 189.91% 2.90x
hexbytes_repr[multiples of 0x10] 0.000029736632282317115 0.000014815713370064632 50.18% 100.71% 2.01x
hexbytes_repr[palindrome ascii] 0.000027583922505157946 0.000014332044882354766 48.04% 92.46% 1.92x
hexbytes_repr[palindrome numeric] 0.00002685307158915228 0.000014100388017905133 47.49% 90.44% 1.90x
hexbytes_repr[palindrome] 0.00003219572558061966 0.00001584424842213042 50.79% 103.20% 2.03x
hexbytes_repr[repeated 0-9] 0.00006316058953093343 0.000023781008643009185 62.35% 165.59% 2.66x
hexbytes_repr[single 0xff] 0.00002565942086414994 0.000013976292096286211 45.53% 83.59% 1.84x
hexbytes_repr[single null byte] 0.00002561307606738213 0.000013613310958200438 46.85% 88.15% 1.88x
hexbytes_repr[two patterns] 0.000048825303250338246 0.000019932521207476265 59.18% 144.95% 2.45x
hexbytes_to_0x_hex[0-9] 0.000015454085311822224 0.000013694691845962682 11.38% 12.85% 1.13x
hexbytes_to_0x_hex[4-byte pattern] 0.000041913224867487515 0.000039547050445201516 5.65% 5.98% 1.06x
hexbytes_to_0x_hex[all byte values] 0.00004204262898733428 0.000040237209834125425 4.29% 4.49% 1.04x
hexbytes_to_0x_hex[alternating 0x00/0xff] 0.000020526489710104844 0.000019102854208682532 6.94% 7.45% 1.07x
hexbytes_to_0x_hex[alternating 0xaa/0x55] 0.000020648947400679784 0.000019016492324818644 7.91% 8.58% 1.09x
hexbytes_to_0x_hex[ascii sentence] 0.00001861236963607471 0.000017174500103540856 7.73% 8.37% 1.08x
hexbytes_to_0x_hex[b''] 0.000010107026838451088 0.000011299013390123069 -11.79% -10.55% 0.89x
hexbytes_to_0x_hex[b'\\x00'*32] 0.000017339461785573218 0.00001572962487717997 9.28% 10.23% 1.10x
hexbytes_to_0x_hex[b'\\x00\\xff\\x00\\xff'] 0.000014861617376150866 0.000013174602343500994 11.35% 12.81% 1.13x
hexbytes_to_0x_hex[b'\\x01'*100] 0.00002609268917906505 0.000023247579515796783 10.90% 12.24% 1.12x
hexbytes_to_0x_hex[b'\\x01'*2048] 0.0002222720879592228 0.00022209061375789714 0.08% 0.08% 1.00x
hexbytes_to_0x_hex[b'\\x01\\x02\\x03'] 0.000014667667107848165 0.000013232322269398216 9.79% 10.85% 1.11x
hexbytes_to_0x_hex[b'\\x10\\x20\\x30\\x40\\x50'] 0.000014981813028540275 0.000014181339108238186 5.34% 5.64% 1.06x
hexbytes_to_0x_hex[b'\\x7f'*8] 0.000015406446135604392 0.000013637806694055548 11.48% 12.97% 1.13x
hexbytes_to_0x_hex[b'\\x80'*8] 0.000015265418022796994 0.000013383137775727166 12.33% 14.06% 1.14x
hexbytes_to_0x_hex[b'\\xde\\xad\\xbe\\xef'] 0.00001473386496054027 0.000013098997097661902 11.10% 12.48% 1.12x
hexbytes_to_0x_hex[b'\\xff'*64] 0.00002052011869949259 0.000018820384621456005 8.28% 9.03% 1.09x
hexbytes_to_0x_hex[b'a'*1024] 0.00012205692205642063 0.00012180590472599653 0.21% 0.21% 1.00x
hexbytes_to_0x_hex[b'abc'] 0.00001467864169068807 0.000013062751962166748 11.01% 12.37% 1.12x
hexbytes_to_0x_hex[long alternating] 0.00012254678266228493 0.00012122403690880642 1.08% 1.09% 1.01x
hexbytes_to_0x_hex[mixed pattern] 0.00003487317863600583 0.00003300429741503886 5.36% 5.66% 1.06x
hexbytes_to_0x_hex[multiples of 0x10] 0.00001557605650054723 0.000013649949020656659 12.37% 14.11% 1.14x
hexbytes_to_0x_hex[palindrome ascii] 0.0000150586848615099 0.000013252167300971968 12.00% 13.63% 1.14x
hexbytes_to_0x_hex[palindrome numeric] 0.000014820192824723635 0.00001296366154924885 12.53% 14.32% 1.14x
hexbytes_to_0x_hex[palindrome] 0.0000163955148892255 0.000014663119747064432 10.57% 11.81% 1.12x
hexbytes_to_0x_hex[repeated 0-9] 0.000025569617889017107 0.000023315533124703203 8.82% 9.67% 1.10x
hexbytes_to_0x_hex[single 0xff] 0.00001456656714016152 0.00001289057108095519 11.51% 13.00% 1.13x
hexbytes_to_0x_hex[single null byte] 0.000014691990845549705 0.000012851052172144408 12.53% 14.33% 1.14x
hexbytes_to_0x_hex[two patterns] 0.000020469891237342332 0.000018908160362274467 7.63% 8.26% 1.08x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants