Skip to content

feat: use mypyc_attr(acyclic=True)#106

Merged
BobTheBuidler merged 2 commits into
masterfrom
BobTheBuidler-patch-3
May 28, 2026
Merged

feat: use mypyc_attr(acyclic=True)#106
BobTheBuidler merged 2 commits into
masterfrom
BobTheBuidler-patch-3

Conversation

@BobTheBuidler
Copy link
Copy Markdown
Owner

No description provided.

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented May 28, 2026

Merging this PR will not alter performance

✅ 619 untouched benchmarks


Comparing BobTheBuidler-patch-3 (d93d486) with master (09326af)1

Open in CodSpeed

Footnotes

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

@BobTheBuidler BobTheBuidler merged commit 31024fb into master May 28, 2026
@BobTheBuidler BobTheBuidler deleted the BobTheBuidler-patch-3 branch May 28, 2026 14:42
@github-actions
Copy link
Copy Markdown

Pytest Benchmark Diff

faster_hexbytes._utils - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
hexstr_to_bytes[''] 0.00020362217520377817 0.00006863057937500164 66.30% 196.69% 2.97x
hexstr_to_bytes['0x'] 0.00026305154609363633 0.00006746881635248473 74.35% 289.89% 3.90x
hexstr_to_bytes['0x'+'0'*128] 0.00042394984131640144 0.00024115704139883467 43.12% 75.80% 1.76x
hexstr_to_bytes['0x'+'00'*64] 0.0004183734544260093 0.00024073532984374285 42.46% 73.79% 1.74x
hexstr_to_bytes['0x'+'00ff'*16] 0.00038633103434052756 0.00020991068291137605 45.67% 84.05% 1.84x
hexstr_to_bytes['0x'+'0123456789abcdef'*8] 0.00041546337538370337 0.00023947052487410732 42.36% 73.49% 1.73x
hexstr_to_bytes['0x'+'1'*64] 0.0003940535655197057 0.00020966175826426795 46.79% 87.95% 1.88x
hexstr_to_bytes['0x'+'1234567890abcdef'*8] 0.00041161106370860066 0.00024090246440851607 41.47% 70.86% 1.71x
hexstr_to_bytes['0x'+'a'*128] 0.00041053292958376155 0.0002413721459697208 41.21% 70.08% 1.70x
hexstr_to_bytes['0x'+'a1b2c3d4'*8] 0.00038725627065620713 0.0002125410507412728 45.12% 82.20% 1.82x
hexstr_to_bytes['0x'+'b'*2048] 0.0014001892019625275 0.001195514110976142 14.62% 17.12% 1.17x
hexstr_to_bytes['0x'+'badc0ffee0ddf00d'*4] 0.0003888485637144046 0.00021051911749860164 45.86% 84.71% 1.85x
hexstr_to_bytes['0x'+'beef'*16] 0.0003872257686599209 0.00021657877654187213 44.07% 78.79% 1.79x
hexstr_to_bytes['0x'+'c'*1024] 0.0009141756560753837 0.0007124005292839506 22.07% 28.32% 1.28x
hexstr_to_bytes['0x'+'cafebabe'*8] 0.00038821290167839734 0.0002100529467103725 45.89% 84.82% 1.85x
hexstr_to_bytes['0x'+'d'*512] 0.0006416130682125173 0.0004131133110647755 35.61% 55.31% 1.55x
hexstr_to_bytes['0x'+'dead'*16] 0.00038812585233770954 0.00021008519835426638 45.87% 84.75% 1.85x
hexstr_to_bytes['0x'+'e'*256] 0.0005230598458150342 0.0003084329316106994 41.03% 69.59% 1.70x
hexstr_to_bytes['0x'+'f'*128] 0.0004166635345662877 0.00023982802597350366 42.44% 73.73% 1.74x
hexstr_to_bytes['0x'+'f'*64] 0.0003875582910414599 0.00021056541912213225 45.67% 84.06% 1.84x
hexstr_to_bytes['0x'+'facefeed'*8] 0.0003891916335507545 0.0002097613577006431 46.10% 85.54% 1.86x
hexstr_to_bytes['0x'+'ff'*32] 0.0003886354257386694 0.0002095771409795671 46.07% 85.44% 1.85x
hexstr_to_bytes['0x'+'ff00'*16] 0.0003875703113867958 0.00021302510595053663 45.04% 81.94% 1.82x
hexstr_to_bytes['0x0'] 0.00040376560025459006 0.00019223096389500466 52.39% 110.04% 2.10x
hexstr_to_bytes['0x1'] 0.0004054976997454965 0.00019182326985646035 52.69% 111.39% 2.11x
hexstr_to_bytes['0x1234'] 0.00036370393452823897 0.0001826817609181096 49.77% 99.09% 1.99x
hexstr_to_bytes['0xabcdef'] 0.00036626409381785213 0.00018320428742930485 49.98% 99.92% 2.00x
hexstr_to_bytes['0xCAFEBABE'] 0.00036433848880332667 0.00018509557024446385 49.20% 96.84% 1.97x
hexstr_to_bytes['0xdeadbeef'] 0.0003652107957323519 0.00018578611214970593 49.13% 96.58% 1.97x
hexstr_to_bytes['deadbeef'] 0.0002698790740641139 0.00015174817069451673 43.77% 77.85% 1.78x
to_bytes[''] 0.00029265138526586554 0.00007810572509852145 73.31% 274.69% 3.75x
to_bytes['0x'] 0.00037343346232361104 0.00007604583886075715 79.64% 391.06% 4.91x
to_bytes['0x'+'00'*64] 0.0005453391883655397 0.00023065656658746922 57.70% 136.43% 2.36x
to_bytes['0x'+'a'*128] 0.0005496476434105401 0.00023506771896777647 57.23% 133.83% 2.34x
to_bytes['0x'+'ff'*32] 0.0005091172578547844 0.00020054145443638307 60.61% 153.87% 2.54x
to_bytes['0x1234'] 0.0004717247133402335 0.00017432122479052096 63.05% 170.61% 2.71x
to_bytes['0xabcdef'] 0.00047286098594928735 0.00017447522893712525 63.10% 171.02% 2.71x
to_bytes['0xCAFEBABE'] 0.00048144508526387647 0.00017490063251303584 63.67% 175.27% 2.75x
to_bytes['0xdeadbeef'] 0.00048566048051948657 0.00017430880003541162 64.11% 178.62% 2.79x
to_bytes['abc'] 0.00047155603446587935 0.00018583916857390284 60.59% 153.74% 2.54x
to_bytes['deadbeef'] 0.0003719475294783001 0.00014738618807276865 60.37% 152.36% 2.52x
to_bytes[0-9] 0.00008627034674659964 0.00005251614854271603 39.13% 64.27% 1.64x
to_bytes[0] 0.0008908668787043439 0.00011029561244087402 87.62% 707.71% 8.08x
to_bytes[123456] 0.0009362495945945461 0.00011827230297324276 87.37% 691.61% 7.92x
to_bytes[2**16] 0.0009413309312752783 0.00011568178528198301 87.71% 713.72% 8.14x
to_bytes[2**256-1] 0.0009223401753061346 0.00017912610153488436 80.58% 414.91% 5.15x
to_bytes[2**32] 0.0009530815246730988 0.00013685595754496453 85.64% 596.41% 6.96x
to_bytes[2**64] 0.0009539289367464837 0.00014765179527102232 84.52% 546.07% 6.46x
to_bytes[2**8] 0.0009293472144927057 0.0001100977058185909 88.15% 744.11% 8.44x
to_bytes[4-byte pattern] 0.00008617754371401924 0.000052605480116045243 38.96% 63.82% 1.64x
to_bytes[all byte values] 0.00008638788606426546 0.00005281685704132178 38.86% 63.56% 1.64x
to_bytes[alternating 0x00/0xff] 0.00008664632948161927 0.00005293599851823539 38.91% 63.68% 1.64x
to_bytes[alternating 0xaa/0x55] 0.00008577957912183409 0.000052639007379708005 38.63% 62.96% 1.63x
to_bytes[ascii sentence] 0.00008612052314642762 0.00005234264979999156 39.22% 64.53% 1.65x
to_bytes[b''] 0.00008323157895181083 0.000053151627494581564 36.14% 56.59% 1.57x
to_bytes[b'\\x00'*32] 0.0000825764691410725 0.00005326258728234248 35.50% 55.04% 1.55x
to_bytes[b'\\x00\\xff\\x00\\xff'] 0.00008091193307365813 0.00005308002845483756 34.40% 52.43% 1.52x
to_bytes[b'\\x01'*100] 0.00008660423312335427 0.00005280888066749243 39.02% 64.00% 1.64x
to_bytes[b'\\x01'*2048] 0.00008653534408609406 0.000052530198015448236 39.30% 64.73% 1.65x
to_bytes[b'\\x01\\x02\\x03'] 0.00008623118348231382 0.00005325053520591858 38.25% 61.93% 1.62x
to_bytes[b'\\x10\\x20\\x30\\x40\\x50'] 0.0000864917580294497 0.00005246590910078225 39.34% 64.85% 1.65x
to_bytes[b'\\x7f'*8] 0.00008592065716269727 0.000052585624562640116 38.80% 63.39% 1.63x
to_bytes[b'\\x80'*8] 0.0000861415333566166 0.000052986263503431345 38.49% 62.57% 1.63x
to_bytes[b'\\xde\\xad\\xbe\\xef'] 0.00008592483045075512 0.000053020539472111504 38.29% 62.06% 1.62x
to_bytes[b'\\xff'*64] 0.00008577567876367416 0.00005320911153541907 37.97% 61.20% 1.61x
to_bytes[b'a'*1024] 0.00008652775364837254 0.000053303108265618084 38.40% 62.33% 1.62x
to_bytes[b'abc'] 0.0000848064416330315 0.00005345657002658551 36.97% 58.65% 1.59x
to_bytes[bytearray(0-9)] 0.00031777561909573964 0.0001545234329204812 51.37% 105.65% 2.06x
to_bytes[bytearray(4-byte pattern)] 0.00032058692923450514 0.00015497930436175316 51.66% 106.86% 2.07x
to_bytes[bytearray(all byte values)] 0.0003172406959483276 0.00015562344458720166 50.94% 103.85% 2.04x
to_bytes[bytearray(alternating 0x00/0xff)] 0.00032068301924299077 0.00015476014546014966 51.74% 107.21% 2.07x
to_bytes[bytearray(alternating 0xaa/0x55)] 0.00031927572028191494 0.00015463868543196042 51.57% 106.47% 2.06x
to_bytes[bytearray(ascii sentence)] 0.0003149311891205377 0.00015415663521766557 51.05% 104.29% 2.04x
to_bytes[bytearray(b'')] 0.0002905468861531342 0.0001303986964338048 55.12% 122.81% 2.23x
to_bytes[bytearray(b'\\x00'*32)] 0.0003157227610510149 0.00015571037704917434 50.68% 102.76% 2.03x
to_bytes[bytearray(b'\\x00\\xff\\x00\\xff')] 0.00032036006577264894 0.00015614698465116742 51.26% 105.17% 2.05x
to_bytes[bytearray(b'\\x01'*100)] 0.0003222537945028643 0.00015135856448973917 53.03% 112.91% 2.13x
to_bytes[bytearray(b'\\x01'*2048)] 0.00037521318580132224 0.00020343477780033098 45.78% 84.44% 1.84x
to_bytes[bytearray(b'\\x01\\x02\\x03')] 0.00032025398715894264 0.00015561393532180154 51.41% 105.80% 2.06x
to_bytes[bytearray(b'\\x10\\x20\\x30\\x40\\x50')] 0.0003171570367385668 0.0001553830838269822 51.01% 104.11% 2.04x
to_bytes[bytearray(b'\\x7f'*8)] 0.00031962151128563516 0.00015701218390828654 50.88% 103.56% 2.04x
to_bytes[bytearray(b'\\x80'*8)] 0.00031340327696659546 0.00015783004910189144 49.64% 98.57% 1.99x
to_bytes[bytearray(b'\\xde\\xad\\xbe\\xef')] 0.0003188518774593617 0.000154767526104593 51.46% 106.02% 2.06x
to_bytes[bytearray(b'\\xff'*64)] 0.0003164501473782602 0.00015695374281210153 50.40% 101.62% 2.02x
to_bytes[bytearray(b'a'*1024)] 0.000367607648204793 0.00020156072520607161 45.17% 82.38% 1.82x
to_bytes[bytearray(b'abc')] 0.000315083065521225 0.00015501900681572786 50.80% 103.25% 2.03x
to_bytes[bytearray(long alternating)] 0.0003708815096442394 0.00019967026640995922 46.16% 85.75% 1.86x
to_bytes[bytearray(mixed pattern)] 0.0003181708471269176 0.00015507349015973044 51.26% 105.17% 2.05x
to_bytes[bytearray(multiples of 0x10)] 0.0003204511683901192 0.00015465367453001665 51.74% 107.21% 2.07x
to_bytes[bytearray(palindrome ascii)] 0.00031782974512475773 0.0001535381616589761 51.69% 107.00% 2.07x
to_bytes[bytearray(palindrome numeric)] 0.0003204714095205487 0.000154368486461644 51.83% 107.60% 2.08x
to_bytes[bytearray(palindrome)] 0.00032147379000349005 0.00015581367207558535 51.53% 106.32% 2.06x
to_bytes[bytearray(repeated 0-9)] 0.000322353668623694 0.000161983385956476 49.75% 99.00% 1.99x
to_bytes[bytearray(single 0xff)] 0.000320008626978871 0.00015536416641121983 51.45% 105.97% 2.06x
to_bytes[bytearray(single null byte)] 0.00032166377858414266 0.0001559102401404549 51.53% 106.31% 2.06x
to_bytes[bytearray(two patterns)] 0.00031309814872649574 0.00015900615297776384 49.22% 96.91% 1.97x
to_bytes[False] 0.0002442795982760144 0.00005765364492085055 76.40% 323.70% 4.24x
to_bytes[long alternating] 0.00008613590771206084 0.000052622752732555424 38.91% 63.69% 1.64x
to_bytes[memoryview(0-9)] 0.00047836120985792494 0.00019906003242057188 58.39% 140.31% 2.40x
to_bytes[memoryview(4-byte pattern)] 0.0004961469184105512 0.00020237611343364826 59.21% 145.16% 2.45x
to_bytes[memoryview(all byte values)] 0.0004784422635168428 0.0002022193409297558 57.73% 136.60% 2.37x
to_bytes[memoryview(alternating 0x00/0xff)] 0.00047607274477659144 0.0002003534431679683 57.92% 137.62% 2.38x
to_bytes[memoryview(alternating 0xaa/0x55)] 0.0004770779633207815 0.00020123838431538687 57.82% 137.07% 2.37x
to_bytes[memoryview(ascii sentence)] 0.0004730437318157584 0.00020098183727159784 57.51% 135.37% 2.35x
to_bytes[memoryview(b'')] 0.0004583806587747064 0.00017229489004593333 62.41% 166.04% 2.66x
to_bytes[memoryview(b'\\x00'*32)] 0.00047710176190470156 0.00020241455423368636 57.57% 135.71% 2.36x
to_bytes[memoryview(b'\\x00\\xff\\x00\\xff')] 0.0004808075517575617 0.00020271457281529685 57.84% 137.18% 2.37x
to_bytes[memoryview(b'\\x01'*100)] 0.00048456113656393887 0.00020177533952801804 58.36% 140.15% 2.40x
to_bytes[memoryview(b'\\x01'*2048)] 0.0005595507302812653 0.0002752580175441329 50.81% 103.28% 2.03x
to_bytes[memoryview(b'\\x01\\x02\\x03')] 0.00048063282330012874 0.0002019416422511253 57.98% 138.01% 2.38x
to_bytes[memoryview(b'\\x10\\x20\\x30\\x40\\x50')] 0.00048231921610604353 0.00019855236154743607 58.83% 142.92% 2.43x
to_bytes[memoryview(b'\\x7f'*8)] 0.0004820842417801856 0.00020425835852582542 57.63% 136.02% 2.36x
to_bytes[memoryview(b'\\x80'*8)] 0.0004904840427942902 0.00020376834672992128 58.46% 140.71% 2.41x
to_bytes[memoryview(b'\\xde\\xad\\xbe\\xef')] 0.00048359123905376535 0.00020257546556677204 58.11% 138.72% 2.39x
to_bytes[memoryview(b'\\xff'*64)] 0.00048062516863149103 0.00020515756496848763 57.31% 134.27% 2.34x
to_bytes[memoryview(b'a'*1024)] 0.0005501631447730077 0.00026912882143768305 51.08% 104.42% 2.04x
to_bytes[memoryview(b'abc')] 0.0004895421034125857 0.00020006495177554506 59.13% 144.69% 2.45x
to_bytes[memoryview(long alternating)] 0.0005491341872929428 0.0002747915126445198 49.96% 99.84% 2.00x
to_bytes[memoryview(mixed pattern)] 0.0004758714885387153 0.00020138561752716053 57.68% 136.30% 2.36x
to_bytes[memoryview(multiples of 0x10)] 0.00047922640712883035 0.00020255541095580608 57.73% 136.59% 2.37x
to_bytes[memoryview(palindrome ascii)] 0.0004769599519418422 0.0002033774724491172 57.36% 134.52% 2.35x
to_bytes[memoryview(palindrome numeric)] 0.0004754604783902915 0.0002021085158046443 57.49% 135.25% 2.35x
to_bytes[memoryview(palindrome)] 0.00048287765116314916 0.0002015811386319158 58.25% 139.55% 2.40x
to_bytes[memoryview(repeated 0-9)] 0.0004850894315330686 0.00020160410971644793 58.44% 140.61% 2.41x
to_bytes[memoryview(single 0xff)] 0.0004766980045569279 0.00020172455383669221 57.68% 136.31% 2.36x
to_bytes[memoryview(single null byte)] 0.00047772915051185675 0.00020104072167520572 57.92% 137.63% 2.38x
to_bytes[memoryview(two patterns)] 0.00047102266602891315 0.00020143332760713006 57.23% 133.84% 2.34x
to_bytes[mixed pattern] 0.00008556472639880461 0.00005269505626184808 38.41% 62.38% 1.62x
to_bytes[multiples of 0x10] 0.0000869606630149506 0.000052569812189327096 39.55% 65.42% 1.65x
to_bytes[palindrome ascii] 0.00008611642169612656 0.00005269386290318696 38.81% 63.43% 1.63x
to_bytes[palindrome numeric] 0.00008677235504359644 0.00005265354524179577 39.32% 64.80% 1.65x
to_bytes[palindrome] 0.00008598945824297207 0.00005288512460343629 38.50% 62.60% 1.63x
to_bytes[repeated 0-9] 0.00008616201674440478 0.00005309855028893701 38.37% 62.27% 1.62x
to_bytes[single 0xff] 0.00008437701034094918 0.00005295586128808242 37.24% 59.33% 1.59x
to_bytes[single null byte] 0.00008308274707351129 0.000052806529572163955 36.44% 57.33% 1.57x
to_bytes[True] 0.0002454436001951271 0.00005791073973894405 76.41% 323.83% 4.24x
to_bytes[two patterns] 0.0000861204867225628 0.0000529106133443062 38.56% 62.77% 1.63x

faster_hexbytes.main - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
hexbytes_getitem_index[-1-0-9] 0.00026969850173835607 0.0002751625604632924 -2.03% -1.99% 0.98x
hexbytes_getitem_index[-1-4-byte pattern] 0.00026948847663614664 0.00027431837056288535 -1.79% -1.76% 0.98x
hexbytes_getitem_index[-1-all byte values] 0.00026840960110674755 0.000274800136014227 -2.38% -2.33% 0.98x
hexbytes_getitem_index[-1-alternating 0x00/0xff] 0.0002687850443796591 0.00027628048818716984 -2.79% -2.71% 0.97x
hexbytes_getitem_index[-1-alternating 0xaa/0x55] 0.00026769759842233573 0.0002768067854783563 -3.40% -3.29% 0.97x
hexbytes_getitem_index[-1-ascii sentence] 0.00026466288663489363 0.00027247134728114236 -2.95% -2.87% 0.97x
hexbytes_getitem_index[-1-b'\\x00'*32] 0.0002699407770546135 0.0002728685944443517 -1.08% -1.07% 0.99x
hexbytes_getitem_index[-1-b'\\x00\\xff\\x00\\xff'] 0.0002636013467274173 0.0002766327783312136 -4.94% -4.71% 0.95x
hexbytes_getitem_index[-1-b'\\x01'*100] 0.00026983957690310397 0.00027662413652692773 -2.51% -2.45% 0.98x
hexbytes_getitem_index[-1-b'\\x01'*2048] 0.000269554091940604 0.0002751557750413578 -2.08% -2.04% 0.98x
hexbytes_getitem_index[-1-b'\\x01\\x02\\x03'] 0.00026963326499031525 0.0002756089997065316 -2.22% -2.17% 0.98x
hexbytes_getitem_index[-1-b'\\x10\\x20\\x30\\x40\\x50'] 0.00026834666523214653 0.00027555658727750916 -2.69% -2.62% 0.97x
hexbytes_getitem_index[-1-b'\\x7f'*8] 0.00026867183105455173 0.0002772410612116801 -3.19% -3.09% 0.97x
hexbytes_getitem_index[-1-b'\\x80'*8] 0.00026894446984017416 0.00027614175325477543 -2.68% -2.61% 0.97x
hexbytes_getitem_index[-1-b'\\xde\\xad\\xbe\\xef'] 0.0002622541196329987 0.0002757344770515107 -5.14% -4.89% 0.95x
hexbytes_getitem_index[-1-b'\\xff'*64] 0.0002709440537306324 0.00027560588839171707 -1.72% -1.69% 0.98x
hexbytes_getitem_index[-1-b'a'*1024] 0.00026503951042756014 0.00027786925695775806 -4.84% -4.62% 0.95x
hexbytes_getitem_index[-1-b'abc'] 0.00026898169590227787 0.0002747222321541927 -2.13% -2.09% 0.98x
hexbytes_getitem_index[-1-long alternating] 0.0002666766134363378 0.0002742695195776369 -2.85% -2.77% 0.97x
hexbytes_getitem_index[-1-mixed pattern] 0.00026770979072804666 0.00027590674696992284 -3.06% -2.97% 0.97x
hexbytes_getitem_index[-1-multiples of 0x10] 0.0002685030278514695 0.0002756418485427056 -2.66% -2.59% 0.97x
hexbytes_getitem_index[-1-palindrome ascii] 0.0002731556275028618 0.00027492504648133823 -0.65% -0.64% 0.99x
hexbytes_getitem_index[-1-palindrome numeric] 0.0002694103140238617 0.0002740994975280873 -1.74% -1.71% 0.98x
hexbytes_getitem_index[-1-palindrome] 0.00026818781397832064 0.0002756998398789289 -2.80% -2.72% 0.97x
hexbytes_getitem_index[-1-repeated 0-9] 0.00026788332853639943 0.0002729558595201172 -1.89% -1.86% 0.98x
hexbytes_getitem_index[-1-two patterns] 0.0002652366454572976 0.00027268814038973585 -2.81% -2.73% 0.97x
hexbytes_getitem_index[0-0-9] 0.00026329643321057917 0.0002672501970792945 -1.50% -1.48% 0.99x
hexbytes_getitem_index[0-4-byte pattern] 0.00026229677995865075 0.0002658875444207583 -1.37% -1.35% 0.99x
hexbytes_getitem_index[0-all byte values] 0.00026330972715404833 0.00026762816714534905 -1.64% -1.61% 0.98x
hexbytes_getitem_index[0-alternating 0x00/0xff] 0.0002636897900055754 0.00026848621486321844 -1.82% -1.79% 0.98x
hexbytes_getitem_index[0-alternating 0xaa/0x55] 0.0002631962408525969 0.00026795591509916653 -1.81% -1.78% 0.98x
hexbytes_getitem_index[0-ascii sentence] 0.0002642141439885646 0.00026887334959334547 -1.76% -1.73% 0.98x
hexbytes_getitem_index[0-b'\\x00'*32] 0.0002648954266789171 0.00026853020040996017 -1.37% -1.35% 0.99x
hexbytes_getitem_index[0-b'\\x00\\xff\\x00\\xff'] 0.0002643828373841501 0.0002683894484911932 -1.52% -1.49% 0.99x
hexbytes_getitem_index[0-b'\\x01'*100] 0.00026315008861424997 0.0002687920775004735 -2.14% -2.10% 0.98x
hexbytes_getitem_index[0-b'\\x01'*2048] 0.00026392067887425825 0.00026882578968435663 -1.86% -1.82% 0.98x
hexbytes_getitem_index[0-b'\\x01\\x02\\x03'] 0.00026409665601942125 0.00026894675116312253 -1.84% -1.80% 0.98x
hexbytes_getitem_index[0-b'\\x10\\x20\\x30\\x40\\x50'] 0.0002636613209668002 0.00026797691437658254 -1.64% -1.61% 0.98x
hexbytes_getitem_index[0-b'\\x7f'*8] 0.0002640422707620032 0.0002678297710215375 -1.43% -1.41% 0.99x
hexbytes_getitem_index[0-b'\\x80'*8] 0.0002638316428164754 0.00026709586097131076 -1.24% -1.22% 0.99x
hexbytes_getitem_index[0-b'\\xde\\xad\\xbe\\xef'] 0.0002631797208968664 0.0002710743804978603 -3.00% -2.91% 0.97x
hexbytes_getitem_index[0-b'\\xff'*64] 0.0002643440007929527 0.0002704499248914869 -2.31% -2.26% 0.98x
hexbytes_getitem_index[0-b'a'*1024] 0.0002642267408678788 0.00026875488434887403 -1.71% -1.68% 0.98x
hexbytes_getitem_index[0-b'abc'] 0.00026180638499390265 0.0002707114010523125 -3.40% -3.29% 0.97x
hexbytes_getitem_index[0-long alternating] 0.0002617397556533192 0.00026954062062518094 -2.98% -2.89% 0.97x
hexbytes_getitem_index[0-mixed pattern] 0.0002646837365538147 0.00026795112270252576 -1.23% -1.22% 0.99x
hexbytes_getitem_index[0-multiples of 0x10] 0.0002649873333321428 0.0002672858048395414 -0.87% -0.86% 0.99x
hexbytes_getitem_index[0-palindrome ascii] 0.0002632769051620294 0.0002693988094846763 -2.33% -2.27% 0.98x
hexbytes_getitem_index[0-palindrome numeric] 0.00026088089112521063 0.0002683073077728649 -2.85% -2.77% 0.97x
hexbytes_getitem_index[0-palindrome] 0.00026369873568370545 0.00026921136516181815 -2.09% -2.05% 0.98x
hexbytes_getitem_index[0-repeated 0-9] 0.000267690050873905 0.0002676053143863806 0.03% 0.03% 1.00x
hexbytes_getitem_index[0-single 0xff] 0.00026405463023148284 0.0002691944491574485 -1.95% -1.91% 0.98x
hexbytes_getitem_index[0-single null byte] 0.00026456867066593145 0.00026716955333992405 -0.98% -0.97% 0.99x
hexbytes_getitem_index[0-two patterns] 0.00026479197612061506 0.0002695158244768045 -1.78% -1.75% 0.98x
hexbytes_getitem_index[1-0-9] 0.00026490971306804506 0.00027097114599633254 -2.29% -2.24% 0.98x
hexbytes_getitem_index[1-4-byte pattern] 0.00026412286932615326 0.0002693292258583587 -1.97% -1.93% 0.98x
hexbytes_getitem_index[1-all byte values] 0.00026367459680395997 0.00026858872095099416 -1.86% -1.83% 0.98x
hexbytes_getitem_index[1-alternating 0x00/0xff] 0.00026420106022999345 0.00027013523840477743 -2.25% -2.20% 0.98x
hexbytes_getitem_index[1-alternating 0xaa/0x55] 0.0002641781657331898 0.0002697222783835978 -2.10% -2.06% 0.98x
hexbytes_getitem_index[1-ascii sentence] 0.0002640685809253392 0.0002692756319204546 -1.97% -1.93% 0.98x
hexbytes_getitem_index[1-b'\\x00'*32] 0.00026366354401264263 0.00026916552357716885 -2.09% -2.04% 0.98x
hexbytes_getitem_index[1-b'\\x00\\xff\\x00\\xff'] 0.0002611639449665829 0.0002669069209320697 -2.20% -2.15% 0.98x
hexbytes_getitem_index[1-b'\\x01'*100] 0.0002643376881004046 0.0002675789224388639 -1.23% -1.21% 0.99x
hexbytes_getitem_index[1-b'\\x01'*2048] 0.0002642441932536802 0.00026704850219582375 -1.06% -1.05% 0.99x
hexbytes_getitem_index[1-b'\\x01\\x02\\x03'] 0.00026402034951639305 0.00026866488651300407 -1.76% -1.73% 0.98x
hexbytes_getitem_index[1-b'\\x10\\x20\\x30\\x40\\x50'] 0.00026320053294791047 0.00026864333297672117 -2.07% -2.03% 0.98x
hexbytes_getitem_index[1-b'\\x7f'*8] 0.0002641832862474902 0.0002667651289886933 -0.98% -0.97% 0.99x
hexbytes_getitem_index[1-b'\\x80'*8] 0.00026280804099443203 0.00026951905119262557 -2.55% -2.49% 0.98x
hexbytes_getitem_index[1-b'\\xde\\xad\\xbe\\xef'] 0.000265535577502864 0.00026992203254234574 -1.65% -1.63% 0.98x
hexbytes_getitem_index[1-b'\\xff'*64] 0.00026370080954794594 0.0002686142082065579 -1.86% -1.83% 0.98x
hexbytes_getitem_index[1-b'a'*1024] 0.00026630581339925994 0.0002690262009685377 -1.02% -1.01% 0.99x
hexbytes_getitem_index[1-b'abc'] 0.00026274122726079334 0.0002693098967463828 -2.50% -2.44% 0.98x
hexbytes_getitem_index[1-long alternating] 0.00026423739464357705 0.0002684123495829811 -1.58% -1.56% 0.98x
hexbytes_getitem_index[1-mixed pattern] 0.00026318395708295266 0.0002715300232929627 -3.17% -3.07% 0.97x
hexbytes_getitem_index[1-multiples of 0x10] 0.0002633344239412747 0.00026873626856363774 -2.05% -2.01% 0.98x
hexbytes_getitem_index[1-palindrome ascii] 0.0002704096939358925 0.0002699136502555172 0.18% 0.18% 1.00x
hexbytes_getitem_index[1-palindrome numeric] 0.0002633626496049789 0.0002704039503956234 -2.67% -2.60% 0.97x
hexbytes_getitem_index[1-palindrome] 0.0002644908743034387 0.0002701488221796399 -2.14% -2.09% 0.98x
hexbytes_getitem_index[1-repeated 0-9] 0.000263431648089815 0.00026967221614131566 -2.37% -2.31% 0.98x
hexbytes_getitem_index[1-two patterns] 0.0002616125998872171 0.0002696706926603892 -3.08% -2.99% 0.97x
hexbytes_getitem_index[2-0-9] 0.00026626723015352324 0.0002690172482562901 -1.03% -1.02% 0.99x
hexbytes_getitem_index[2-4-byte pattern] 0.0002650876461827237 0.0002675828289080969 -0.94% -0.93% 0.99x
hexbytes_getitem_index[2-all byte values] 0.0002653021855106004 0.0002687959927118162 -1.32% -1.30% 0.99x
hexbytes_getitem_index[2-alternating 0x00/0xff] 0.00026399720206374044 0.0002671512883261444 -1.19% -1.18% 0.99x
hexbytes_getitem_index[2-alternating 0xaa/0x55] 0.0002632430623362561 0.0002695069085337692 -2.38% -2.32% 0.98x
hexbytes_getitem_index[2-ascii sentence] 0.0002649177726295935 0.00026887872289434953 -1.50% -1.47% 0.99x
hexbytes_getitem_index[2-b'\\x00'*32] 0.00026526341197103054 0.0002686761821090056 -1.29% -1.27% 0.99x
hexbytes_getitem_index[2-b'\\x00\\xff\\x00\\xff'] 0.00026418440242513097 0.00026938897586080277 -1.97% -1.93% 0.98x
hexbytes_getitem_index[2-b'\\x01'*100] 0.00026414967333411083 0.00027077463305487994 -2.51% -2.45% 0.98x
hexbytes_getitem_index[2-b'\\x01'*2048] 0.00026654300132870765 0.0002681125427204068 -0.59% -0.59% 0.99x
hexbytes_getitem_index[2-b'\\x01\\x02\\x03'] 0.0002639801482360317 0.0002693363339582884 -2.03% -1.99% 0.98x
hexbytes_getitem_index[2-b'\\x10\\x20\\x30\\x40\\x50'] 0.00026406459187035416 0.0002661607472672613 -0.79% -0.79% 0.99x
hexbytes_getitem_index[2-b'\\x7f'*8] 0.0002643017994797069 0.0002846162163110463 -7.69% -7.14% 0.93x
hexbytes_getitem_index[2-b'\\x80'*8] 0.00026615129849878825 0.00026979431565889926 -1.37% -1.35% 0.99x
hexbytes_getitem_index[2-b'\\xde\\xad\\xbe\\xef'] 0.0002674725178877534 0.00027068140985030804 -1.20% -1.19% 0.99x
hexbytes_getitem_index[2-b'\\xff'*64] 0.0002658958302681331 0.00026915391343441703 -1.23% -1.21% 0.99x
hexbytes_getitem_index[2-b'a'*1024] 0.0002645915849152575 0.00026872629626495837 -1.56% -1.54% 0.98x
hexbytes_getitem_index[2-b'abc'] 0.00026406016960825256 0.0002701250642280435 -2.30% -2.25% 0.98x
hexbytes_getitem_index[2-long alternating] 0.0002641307981546283 0.0002685114383559343 -1.66% -1.63% 0.98x
hexbytes_getitem_index[2-mixed pattern] 0.00026489063852249464 0.00026800508699226857 -1.18% -1.16% 0.99x
hexbytes_getitem_index[2-multiples of 0x10] 0.000263840928664685 0.000270213381647032 -2.42% -2.36% 0.98x
hexbytes_getitem_index[2-palindrome ascii] 0.0002658300417616677 0.00027016732867849786 -1.63% -1.61% 0.98x
hexbytes_getitem_index[2-palindrome numeric] 0.0002643250394678754 0.00027030984472094894 -2.26% -2.21% 0.98x
hexbytes_getitem_index[2-palindrome] 0.0002644792544375646 0.0002718399892864347 -2.78% -2.71% 0.97x
hexbytes_getitem_index[2-repeated 0-9] 0.00026314278394104935 0.0002687389548657966 -2.13% -2.08% 0.98x
hexbytes_getitem_index[2-two patterns] 0.00026299886398600326 0.00026585555081360106 -1.09% -1.07% 0.99x
hexbytes_getitem_index[3-0-9] 0.00026372163320323964 0.00027149546225578553 -2.95% -2.86% 0.97x
hexbytes_getitem_index[3-4-byte pattern] 0.00026411934691743987 0.0002703410176916933 -2.36% -2.30% 0.98x
hexbytes_getitem_index[3-all byte values] 0.00026457977149600627 0.0002707672844947754 -2.34% -2.29% 0.98x
hexbytes_getitem_index[3-alternating 0x00/0xff] 0.0002648541752285408 0.0002700358912570851 -1.96% -1.92% 0.98x
hexbytes_getitem_index[3-alternating 0xaa/0x55] 0.0002657335253140734 0.0002718815296721947 -2.31% -2.26% 0.98x
hexbytes_getitem_index[3-ascii sentence] 0.0002640334886716614 0.00026906538990336337 -1.91% -1.87% 0.98x
hexbytes_getitem_index[3-b'\\x00'*32] 0.00026496426506364315 0.00026845505958634217 -1.32% -1.30% 0.99x
hexbytes_getitem_index[3-b'\\x00\\xff\\x00\\xff'] 0.0002662392556815106 0.00026908710972699154 -1.07% -1.06% 0.99x
hexbytes_getitem_index[3-b'\\x01'*100] 0.00026419641096596337 0.000269178848387075 -1.89% -1.85% 0.98x
hexbytes_getitem_index[3-b'\\x01'*2048] 0.00026510013099217283 0.00027162072869467706 -2.46% -2.40% 0.98x
hexbytes_getitem_index[3-b'\\x10\\x20\\x30\\x40\\x50'] 0.0002629082763747976 0.0002706400302620102 -2.94% -2.86% 0.97x
hexbytes_getitem_index[3-b'\\x7f'*8] 0.0002737013874281239 0.00027104274477297987 0.97% 0.98% 1.01x
hexbytes_getitem_index[3-b'\\x80'*8] 0.00026285901320274467 0.00026917614956380875 -2.40% -2.35% 0.98x
hexbytes_getitem_index[3-b'\\xde\\xad\\xbe\\xef'] 0.00026443171531313715 0.00026900679508140416 -1.73% -1.70% 0.98x
hexbytes_getitem_index[3-b'\\xff'*64] 0.000263706253142406 0.00026912194040558667 -2.05% -2.01% 0.98x
hexbytes_getitem_index[3-b'a'*1024] 0.00026853600400770844 0.0002683469250812533 0.07% 0.07% 1.00x
hexbytes_getitem_index[3-long alternating] 0.00026326750394951604 0.00027226009157932564 -3.42% -3.30% 0.97x
hexbytes_getitem_index[3-mixed pattern] 0.00026452559599531163 0.0002714059007906938 -2.60% -2.54% 0.97x
hexbytes_getitem_index[3-multiples of 0x10] 0.0002653708411430021 0.0002699168626505541 -1.71% -1.68% 0.98x
hexbytes_getitem_index[3-palindrome ascii] 0.0002640833621608643 0.0002709657813183882 -2.61% -2.54% 0.97x
hexbytes_getitem_index[3-palindrome numeric] 0.00026688156701543066 0.0002697314524699944 -1.07% -1.06% 0.99x
hexbytes_getitem_index[3-palindrome] 0.00026479444682586797 0.000269297929340684 -1.70% -1.67% 0.98x
hexbytes_getitem_index[3-repeated 0-9] 0.00026826159712226456 0.00026954348157124227 -0.48% -0.48% 1.00x
hexbytes_getitem_index[3-two patterns] 0.0002655840105964587 0.00027023404699093903 -1.75% -1.72% 0.98x
hexbytes_getitem_index[4-0-9] 0.0002627888518196195 0.0002696031957023748 -2.59% -2.53% 0.97x
hexbytes_getitem_index[4-4-byte pattern] 0.0002649156116558515 0.00026626788807927764 -0.51% -0.51% 0.99x
hexbytes_getitem_index[4-all byte values] 0.00026438297987972225 0.00026930898347869833 -1.86% -1.83% 0.98x
hexbytes_getitem_index[4-alternating 0x00/0xff] 0.0002649947634153198 0.000268288862591873 -1.24% -1.23% 0.99x
hexbytes_getitem_index[4-alternating 0xaa/0x55] 0.0002647050797240858 0.00026875970380337726 -1.53% -1.51% 0.98x
hexbytes_getitem_index[4-ascii sentence] 0.0002645507023018019 0.0002725723722410926 -3.03% -2.94% 0.97x
hexbytes_getitem_index[4-b'\\x00'*32] 0.00026338730474709287 0.0002679659182634639 -1.74% -1.71% 0.98x
hexbytes_getitem_index[4-b'\\x01'*100] 0.00026485531665284634 0.00026964307669588496 -1.81% -1.78% 0.98x
hexbytes_getitem_index[4-b'\\x01'*2048] 0.00026447326791299836 0.0002664254790350528 -0.74% -0.73% 0.99x
hexbytes_getitem_index[4-b'\\x10\\x20\\x30\\x40\\x50'] 0.0002652601768407368 0.00026690765038858477 -0.62% -0.62% 0.99x
hexbytes_getitem_index[4-b'\\x7f'*8] 0.0002643284448570284 0.0002676941464467494 -1.27% -1.26% 0.99x
hexbytes_getitem_index[4-b'\\x80'*8] 0.00026577915281008355 0.00026822615627499527 -0.92% -0.91% 0.99x
hexbytes_getitem_index[4-b'\\xff'*64] 0.0002637536678901026 0.00026579549823549793 -0.77% -0.77% 0.99x
hexbytes_getitem_index[4-b'a'*1024] 0.00026400516223941384 0.00026816893022060795 -1.58% -1.55% 0.98x
hexbytes_getitem_index[4-long alternating] 0.00026425999829861216 0.0002680125868802127 -1.42% -1.40% 0.99x
hexbytes_getitem_index[4-mixed pattern] 0.00026546004588071245 0.0002717831305866923 -2.38% -2.33% 0.98x
hexbytes_getitem_index[4-multiples of 0x10] 0.0002657796590067174 0.0002687374715713967 -1.11% -1.10% 0.99x
hexbytes_getitem_index[4-palindrome ascii] 0.0002644531828779657 0.0002683325635867411 -1.47% -1.45% 0.99x
hexbytes_getitem_index[4-palindrome numeric] 0.000264345097900457 0.0002712820682342333 -2.62% -2.56% 0.97x
hexbytes_getitem_index[4-palindrome] 0.0002650499204972519 0.00026710136475317504 -0.77% -0.77% 0.99x
hexbytes_getitem_index[4-repeated 0-9] 0.0002649393557436506 0.0002729037317148907 -3.01% -2.92% 0.97x
hexbytes_getitem_index[4-two patterns] 0.0002643001113458462 0.000270364133732892 -2.29% -2.24% 0.98x
hexbytes_getitem_index[5-0-9] 0.0002645206043822317 0.0002699633995659638 -2.06% -2.02% 0.98x
hexbytes_getitem_index[5-4-byte pattern] 0.00026512910547140246 0.0002702539640919352 -1.93% -1.90% 0.98x
hexbytes_getitem_index[5-all byte values] 0.00026050091907003567 0.0002663899261080762 -2.26% -2.21% 0.98x
hexbytes_getitem_index[5-alternating 0x00/0xff] 0.000265420942774387 0.00026460106344023424 0.31% 0.31% 1.00x
hexbytes_getitem_index[5-alternating 0xaa/0x55] 0.00026442767813404156 0.00026901640561021806 -1.74% -1.71% 0.98x
hexbytes_getitem_index[5-ascii sentence] 0.00026545294399134213 0.0002700734529888084 -1.74% -1.71% 0.98x
hexbytes_getitem_index[5-b'\\x00'*32] 0.0002646073010672808 0.0002710742804996342 -2.44% -2.39% 0.98x
hexbytes_getitem_index[5-b'\\x01'*100] 0.0002651268953609811 0.00027213255127852437 -2.64% -2.57% 0.97x
hexbytes_getitem_index[5-b'\\x01'*2048] 0.0002651467405959113 0.0002689424419802507 -1.43% -1.41% 0.99x
hexbytes_getitem_index[5-b'\\x7f'*8] 0.000265264815704077 0.0002724519617639905 -2.71% -2.64% 0.97x
hexbytes_getitem_index[5-b'\\x80'*8] 0.0002637657590119722 0.0002715962764187102 -2.97% -2.88% 0.97x
hexbytes_getitem_index[5-b'\\xff'*64] 0.000264903084706898 0.0002708750167030793 -2.25% -2.20% 0.98x
hexbytes_getitem_index[5-b'a'*1024] 0.0002632577136440568 0.000269362441508978 -2.32% -2.27% 0.98x
hexbytes_getitem_index[5-long alternating] 0.0002643760013061404 0.0002695751834840152 -1.97% -1.93% 0.98x
hexbytes_getitem_index[5-mixed pattern] 0.00026622338738096184 0.00026809376095581036 -0.70% -0.70% 0.99x
hexbytes_getitem_index[5-multiples of 0x10] 0.0002635866088289601 0.0002685670875679399 -1.89% -1.85% 0.98x
hexbytes_getitem_index[5-palindrome ascii] 0.0002656534979986627 0.0002686456356325771 -1.13% -1.11% 0.99x
hexbytes_getitem_index[5-palindrome] 0.00026523047017112136 0.0002737054340906467 -3.20% -3.10% 0.97x
hexbytes_getitem_index[5-repeated 0-9] 0.0002650586613693587 0.00026967136668390923 -1.74% -1.71% 0.98x
hexbytes_getitem_index[5-two patterns] 0.00026554881800033815 0.00027029400543142893 -1.79% -1.76% 0.98x
hexbytes_getitem_slice[slice(-3,None)-0-9] 0.0008437853018864036 0.0005594444305685276 33.70% 50.83% 1.51x
hexbytes_getitem_slice[slice(-3,None)-4-byte pattern] 0.0008399696391747998 0.0005721422867680914 31.89% 46.81% 1.47x
hexbytes_getitem_slice[slice(-3,None)-all byte values] 0.0008377211699857218 0.0005681243534283285 32.18% 47.45% 1.47x
hexbytes_getitem_slice[slice(-3,None)-alternating 0x00/0xff] 0.0008395725162100344 0.0005685682631292231 32.28% 47.66% 1.48x
hexbytes_getitem_slice[slice(-3,None)-alternating 0xaa/0x55] 0.0008387081855688461 0.0005706526850892381 31.96% 46.97% 1.47x
hexbytes_getitem_slice[slice(-3,None)-ascii sentence] 0.0008448659102612006 0.000579287197357952 31.43% 45.85% 1.46x
hexbytes_getitem_slice[slice(-3,None)-b''] 0.0008117023193010699 0.0005437938937597365 33.01% 49.27% 1.49x
hexbytes_getitem_slice[slice(-3,None)-b'\\x00'*32] 0.000837967560273752 0.0005688921502066931 32.11% 47.30% 1.47x
hexbytes_getitem_slice[slice(-3,None)-b'\\x00\\xff\\x00\\xff'] 0.0008417972142260915 0.0005678548216618903 32.54% 48.24% 1.48x
hexbytes_getitem_slice[slice(-3,None)-b'\\x01'*100] 0.0008470579681346327 0.0005689595600503399 32.83% 48.88% 1.49x
hexbytes_getitem_slice[slice(-3,None)-b'\\x01'*2048] 0.0008439961616149024 0.0005661243584706812 32.92% 49.08% 1.49x
hexbytes_getitem_slice[slice(-3,None)-b'\\x01\\x02\\x03'] 0.0008425808886017706 0.0005687138473314946 32.50% 48.16% 1.48x
hexbytes_getitem_slice[slice(-3,None)-b'\\x10\\x20\\x30\\x40\\x50'] 0.0008288845353239052 0.0005746422282586214 30.67% 44.24% 1.44x
hexbytes_getitem_slice[slice(-3,None)-b'\\x7f'*8] 0.000845005506884969 0.0005640320171444598 33.25% 49.82% 1.50x
hexbytes_getitem_slice[slice(-3,None)-b'\\x80'*8] 0.0008418477813031185 0.0005661412133383712 32.75% 48.70% 1.49x
hexbytes_getitem_slice[slice(-3,None)-b'\\xde\\xad\\xbe\\xef'] 0.0008458022431353026 0.0005697013438062909 32.64% 48.46% 1.48x
hexbytes_getitem_slice[slice(-3,None)-b'\\xff'*64] 0.0008486780486990265 0.0005925612737357939 30.18% 43.22% 1.43x
hexbytes_getitem_slice[slice(-3,None)-b'a'*1024] 0.0008402997337368207 0.0005746521598103246 31.61% 46.23% 1.46x
hexbytes_getitem_slice[slice(-3,None)-b'abc'] 0.0008423767961811395 0.0005732965309157131 31.94% 46.94% 1.47x
hexbytes_getitem_slice[slice(-3,None)-long alternating] 0.0008385111260708381 0.0005695470328401102 32.08% 47.22% 1.47x
hexbytes_getitem_slice[slice(-3,None)-mixed pattern] 0.0008412992299087262 0.0005765754605962224 31.47% 45.91% 1.46x
hexbytes_getitem_slice[slice(-3,None)-multiples of 0x10] 0.0008427919072149511 0.0005685592254504499 32.54% 48.23% 1.48x
hexbytes_getitem_slice[slice(-3,None)-palindrome ascii] 0.0008412958367977624 0.0005693016016424656 32.33% 47.78% 1.48x
hexbytes_getitem_slice[slice(-3,None)-palindrome numeric] 0.0008376870462737665 0.0005721581384766556 31.70% 46.41% 1.46x
hexbytes_getitem_slice[slice(-3,None)-palindrome] 0.00084094219613207 0.0005731935008893358 31.84% 46.71% 1.47x
hexbytes_getitem_slice[slice(-3,None)-repeated 0-9] 0.0008419625557512687 0.0005791668532105283 31.21% 45.37% 1.45x
hexbytes_getitem_slice[slice(-3,None)-single 0xff] 0.0008000404567704003 0.0005510916823661333 31.12% 45.17% 1.45x
hexbytes_getitem_slice[slice(-3,None)-single null byte] 0.0008058653112951802 0.0005466208446463894 32.17% 47.43% 1.47x
hexbytes_getitem_slice[slice(-3,None)-two patterns] 0.0008415736067402364 0.0005836160149136287 30.65% 44.20% 1.44x
hexbytes_getitem_slice[slice(0,3)-0-9] 0.0008475681900770271 0.0005671457048548053 33.09% 49.44% 1.49x
hexbytes_getitem_slice[slice(0,3)-4-byte pattern] 0.0008451537226610869 0.0005759153797008543 31.86% 46.75% 1.47x
hexbytes_getitem_slice[slice(0,3)-all byte values] 0.0008525401870650063 0.0005709867961728335 33.03% 49.31% 1.49x
hexbytes_getitem_slice[slice(0,3)-alternating 0x00/0xff] 0.0008458445961546649 0.0005716786052507959 32.41% 47.96% 1.48x
hexbytes_getitem_slice[slice(0,3)-alternating 0xaa/0x55] 0.0008431258456978799 0.0005656950299534922 32.91% 49.04% 1.49x
hexbytes_getitem_slice[slice(0,3)-ascii sentence] 0.00085541932985293 0.0005675971058956476 33.65% 50.71% 1.51x
hexbytes_getitem_slice[slice(0,3)-b''] 0.0008163154596513499 0.0005515046730756744 32.44% 48.02% 1.48x
hexbytes_getitem_slice[slice(0,3)-b'\\x00'*32] 0.0008511184846366744 0.000574903750599552 32.45% 48.05% 1.48x
hexbytes_getitem_slice[slice(0,3)-b'\\x00\\xff\\x00\\xff'] 0.0008563426276224733 0.0005733460196673868 33.05% 49.36% 1.49x
hexbytes_getitem_slice[slice(0,3)-b'\\x01'*100] 0.0008520657873459672 0.000574130303268993 32.62% 48.41% 1.48x
hexbytes_getitem_slice[slice(0,3)-b'\\x01'*2048] 0.0008477894419406151 0.0005728022425362967 32.44% 48.01% 1.48x
hexbytes_getitem_slice[slice(0,3)-b'\\x01\\x02\\x03'] 0.0008497005462486111 0.0005735993804024548 32.49% 48.13% 1.48x
hexbytes_getitem_slice[slice(0,3)-b'\\x10\\x20\\x30\\x40\\x50'] 0.0008498200667249868 0.000568676481218234 33.08% 49.44% 1.49x
hexbytes_getitem_slice[slice(0,3)-b'\\x7f'*8] 0.0008502781255347347 0.0005755238192640676 32.31% 47.74% 1.48x
hexbytes_getitem_slice[slice(0,3)-b'\\x80'*8] 0.00085200045132709 0.0005769202617541213 32.29% 47.68% 1.48x
hexbytes_getitem_slice[slice(0,3)-b'\\xde\\xad\\xbe\\xef'] 0.0008471835756782788 0.0005699866172759061 32.72% 48.63% 1.49x
hexbytes_getitem_slice[slice(0,3)-b'\\xff'*64] 0.0008526453933747647 0.0005728082264598345 32.82% 48.85% 1.49x
hexbytes_getitem_slice[slice(0,3)-b'a'*1024] 0.0008545380105342294 0.000582371596241038 31.85% 46.73% 1.47x
hexbytes_getitem_slice[slice(0,3)-b'abc'] 0.0008500300330742697 0.0005783721961267461 31.96% 46.97% 1.47x
hexbytes_getitem_slice[slice(0,3)-long alternating] 0.0008445192476098919 0.000568028985059948 32.74% 48.68% 1.49x
hexbytes_getitem_slice[slice(0,3)-mixed pattern] 0.0008552010921168791 0.0005736316462266628 32.92% 49.09% 1.49x
hexbytes_getitem_slice[slice(0,3)-multiples of 0x10] 0.0008447588438859285 0.0005740823072713311 32.04% 47.15% 1.47x
hexbytes_getitem_slice[slice(0,3)-palindrome ascii] 0.0008523765729362643 0.0005738240189972925 32.68% 48.54% 1.49x
hexbytes_getitem_slice[slice(0,3)-palindrome numeric] 0.0008555695701761977 0.0005740803794139958 32.90% 49.03% 1.49x
hexbytes_getitem_slice[slice(0,3)-palindrome] 0.0008537880949871548 0.0005718703425606094 33.02% 49.30% 1.49x
hexbytes_getitem_slice[slice(0,3)-repeated 0-9] 0.0008484191524397519 0.0005744469190125526 32.29% 47.69% 1.48x
hexbytes_getitem_slice[slice(0,3)-single 0xff] 0.000815048164031831 0.0005490012716990428 32.64% 48.46% 1.48x
hexbytes_getitem_slice[slice(0,3)-single null byte] 0.0008110445054859456 0.0005517644602237095 31.97% 46.99% 1.47x
hexbytes_getitem_slice[slice(0,3)-two patterns] 0.0008492738022752471 0.0005688861648607802 33.01% 49.29% 1.49x
hexbytes_getitem_slice[slice(1,6)-0-9] 0.0008579919693264704 0.0005749482207052126 32.99% 49.23% 1.49x
hexbytes_getitem_slice[slice(1,6)-4-byte pattern] 0.000859223788547391 0.0005753785724100702 33.04% 49.33% 1.49x
hexbytes_getitem_slice[slice(1,6)-all byte values] 0.0008608233875786221 0.000572155733572996 33.53% 50.45% 1.50x
hexbytes_getitem_slice[slice(1,6)-alternating 0x00/0xff] 0.0008540879518373864 0.0005762982883803776 32.52% 48.20% 1.48x
hexbytes_getitem_slice[slice(1,6)-alternating 0xaa/0x55] 0.0008578603388774862 0.000578208707824872 32.60% 48.37% 1.48x
hexbytes_getitem_slice[slice(1,6)-ascii sentence] 0.0008462643119569695 0.0005728783249890213 32.31% 47.72% 1.48x
hexbytes_getitem_slice[slice(1,6)-b''] 0.0008214725699742956 0.0005540633124620584 32.55% 48.26% 1.48x
hexbytes_getitem_slice[slice(1,6)-b'\\x00'*32] 0.0008591384547842072 0.0005768908754447976 32.85% 48.93% 1.49x
hexbytes_getitem_slice[slice(1,6)-b'\\x00\\xff\\x00\\xff'] 0.000850784147727767 0.0005714759313090093 32.83% 48.87% 1.49x
hexbytes_getitem_slice[slice(1,6)-b'\\x01'*100] 0.0008511020636866414 0.0005732989798596807 32.64% 48.46% 1.48x
hexbytes_getitem_slice[slice(1,6)-b'\\x01'*2048] 0.0008552531781060521 0.0005691749619333305 33.45% 50.26% 1.50x
hexbytes_getitem_slice[slice(1,6)-b'\\x01\\x02\\x03'] 0.0008624890615644098 0.0005735582428264573 33.50% 50.38% 1.50x
hexbytes_getitem_slice[slice(1,6)-b'\\x10\\x20\\x30\\x40\\x50'] 0.0008560678461538773 0.000566947260528958 33.77% 51.00% 1.51x
hexbytes_getitem_slice[slice(1,6)-b'\\x7f'*8] 0.0008507287541542865 0.000569680799287923 33.04% 49.33% 1.49x
hexbytes_getitem_slice[slice(1,6)-b'\\x80'*8] 0.0008464969125675776 0.0005740182123798745 32.19% 47.47% 1.47x
hexbytes_getitem_slice[slice(1,6)-b'\\xde\\xad\\xbe\\xef'] 0.0008564012110823925 0.000573617398729932 33.02% 49.30% 1.49x
hexbytes_getitem_slice[slice(1,6)-b'\\xff'*64] 0.0008423964516975175 0.0005769263964179009 31.51% 46.01% 1.46x
hexbytes_getitem_slice[slice(1,6)-b'a'*1024] 0.0008538857393583925 0.0005751512123571108 32.64% 48.46% 1.48x
hexbytes_getitem_slice[slice(1,6)-b'abc'] 0.0008509701514857486 0.0005770141774851011 32.19% 47.48% 1.47x
hexbytes_getitem_slice[slice(1,6)-long alternating] 0.0008569613713538472 0.0005763216537551844 32.75% 48.69% 1.49x
hexbytes_getitem_slice[slice(1,6)-mixed pattern] 0.0008525360724270309 0.0005770575313069279 32.31% 47.74% 1.48x
hexbytes_getitem_slice[slice(1,6)-multiples of 0x10] 0.0008484528225132884 0.0005751002337307405 32.22% 47.53% 1.48x
hexbytes_getitem_slice[slice(1,6)-palindrome ascii] 0.0008510882068061426 0.0005735507938173317 32.61% 48.39% 1.48x
hexbytes_getitem_slice[slice(1,6)-palindrome numeric] 0.0008488753922256404 0.0005659685607982067 33.33% 49.99% 1.50x
hexbytes_getitem_slice[slice(1,6)-palindrome] 0.00085525991134068 0.0005774796550723176 32.48% 48.10% 1.48x
hexbytes_getitem_slice[slice(1,6)-repeated 0-9] 0.0008510533698489797 0.0005756580704049546 32.36% 47.84% 1.48x
hexbytes_getitem_slice[slice(1,6)-single 0xff] 0.0008225641321849973 0.0005539933599303147 32.65% 48.48% 1.48x
hexbytes_getitem_slice[slice(1,6)-single null byte] 0.0008192092841577653 0.0005584452877720328 31.83% 46.69% 1.47x
hexbytes_getitem_slice[slice(1,6)-two patterns] 0.0008523540961375417 0.0005737696322375995 32.68% 48.55% 1.49x
hexbytes_getitem_slice[slice(2,None)-0-9] 0.0008302072081902231 0.0005684350886653709 31.53% 46.05% 1.46x
hexbytes_getitem_slice[slice(2,None)-4-byte pattern] 0.0008278040859826087 0.0005715682286745712 30.95% 44.83% 1.45x
hexbytes_getitem_slice[slice(2,None)-all byte values] 0.0008374075124584766 0.0005648373132349667 32.55% 48.26% 1.48x
hexbytes_getitem_slice[slice(2,None)-alternating 0x00/0xff] 0.0008406901222880338 0.0005505032382569538 34.52% 52.71% 1.53x
hexbytes_getitem_slice[slice(2,None)-alternating 0xaa/0x55] 0.0008323134514473154 0.0005570482252445711 33.07% 49.41% 1.49x
hexbytes_getitem_slice[slice(2,None)-ascii sentence] 0.0008391826253152369 0.0005645213281164562 32.73% 48.65% 1.49x
hexbytes_getitem_slice[slice(2,None)-b''] 0.0008081796994196343 0.0005413952204783272 33.01% 49.28% 1.49x
hexbytes_getitem_slice[slice(2,None)-b'\\x00'*32] 0.0008376992360298867 0.0005446182100522898 34.99% 53.81% 1.54x
hexbytes_getitem_slice[slice(2,None)-b'\\x00\\xff\\x00\\xff'] 0.0008404143010182771 0.0005667810291006324 32.56% 48.28% 1.48x
hexbytes_getitem_slice[slice(2,None)-b'\\x01'*100] 0.0008413056703763502 0.0005601368554914072 33.42% 50.20% 1.50x
hexbytes_getitem_slice[slice(2,None)-b'\\x01'*2048] 0.0009890123222553112 0.0007390711047371798 25.27% 33.82% 1.34x
hexbytes_getitem_slice[slice(2,None)-b'\\x01\\x02\\x03'] 0.0008096712231417205 0.0005358652060248122 33.82% 51.10% 1.51x
hexbytes_getitem_slice[slice(2,None)-b'\\x10\\x20\\x30\\x40\\x50'] 0.0008510012855940929 0.0005630728117141153 33.83% 51.14% 1.51x
hexbytes_getitem_slice[slice(2,None)-b'\\x7f'*8] 0.0008411161957450957 0.0005644648033919445 32.89% 49.01% 1.49x
hexbytes_getitem_slice[slice(2,None)-b'\\x80'*8] 0.000840375045037897 0.0005604218810809094 33.31% 49.95% 1.50x
hexbytes_getitem_slice[slice(2,None)-b'\\xde\\xad\\xbe\\xef'] 0.0008371312796520041 0.0005637294151700884 32.66% 48.50% 1.48x
hexbytes_getitem_slice[slice(2,None)-b'\\xff'*64] 0.0008383897862025428 0.000570805950268792 31.92% 46.88% 1.47x
hexbytes_getitem_slice[slice(2,None)-b'a'*1024] 0.0009493600310072682 0.0007134257383818724 24.85% 33.07% 1.33x
hexbytes_getitem_slice[slice(2,None)-b'abc'] 0.000804646540383827 0.0005406119441735065 32.81% 48.84% 1.49x
hexbytes_getitem_slice[slice(2,None)-long alternating] 0.0009351065066041729 0.0006881070461143571 26.41% 35.90% 1.36x
hexbytes_getitem_slice[slice(2,None)-mixed pattern] 0.0008205257387632347 0.00056488935649321 31.16% 45.25% 1.45x
hexbytes_getitem_slice[slice(2,None)-multiples of 0x10] 0.0008370032163092387 0.000567863669333916 32.16% 47.40% 1.47x
hexbytes_getitem_slice[slice(2,None)-palindrome ascii] 0.000843981654075587 0.0005870324628064273 30.44% 43.77% 1.44x
hexbytes_getitem_slice[slice(2,None)-palindrome numeric] 0.0008442474899903376 0.0005742077656452116 31.99% 47.03% 1.47x
hexbytes_getitem_slice[slice(2,None)-palindrome] 0.0008337840642734371 0.0005584365882641412 33.02% 49.31% 1.49x
hexbytes_getitem_slice[slice(2,None)-repeated 0-9] 0.0008404158247866433 0.0005746707635717441 31.62% 46.24% 1.46x
hexbytes_getitem_slice[slice(2,None)-single 0xff] 0.0008115982888147413 0.0005546781505153456 31.66% 46.32% 1.46x
hexbytes_getitem_slice[slice(2,None)-single null byte] 0.0008032846856888692 0.0005513841091120478 31.36% 45.69% 1.46x
hexbytes_getitem_slice[slice(2,None)-two patterns] 0.0008364650382072055 0.0005529042509697885 33.90% 51.29% 1.51x
hexbytes_getitem_slice[slice(None,None)-0-9] 0.0008204607986466766 0.0005372020640819865 34.52% 52.73% 1.53x
hexbytes_getitem_slice[slice(None,None)-4-byte pattern] 0.0008406740283512543 0.0005559788949990481 33.87% 51.21% 1.51x
hexbytes_getitem_slice[slice(None,None)-all byte values] 0.0008328614918589208 0.0005568841068667493 33.14% 49.56% 1.50x
hexbytes_getitem_slice[slice(None,None)-alternating 0x00/0xff] 0.0008212493347274952 0.0005475269396024767 33.33% 49.99% 1.50x
hexbytes_getitem_slice[slice(None,None)-alternating 0xaa/0x55] 0.0008214496680736261 0.0005414807568473578 34.08% 51.70% 1.52x
hexbytes_getitem_slice[slice(None,None)-ascii sentence] 0.0008255298224844467 0.0005490447079781296 33.49% 50.36% 1.50x
hexbytes_getitem_slice[slice(None,None)-b''] 0.0007990599909391228 0.0005266416198372264 34.09% 51.73% 1.52x
hexbytes_getitem_slice[slice(None,None)-b'\\x00'*32] 0.000819849571069861 0.0005485068952241865 33.10% 49.47% 1.49x
hexbytes_getitem_slice[slice(None,None)-b'\\x00\\xff\\x00\\xff'] 0.0008316949295403121 0.0005489720425794175 33.99% 51.50% 1.52x
hexbytes_getitem_slice[slice(None,None)-b'\\x01'*100] 0.0008236058244231906 0.000545820503875606 33.73% 50.89% 1.51x
hexbytes_getitem_slice[slice(None,None)-b'\\x01'*2048] 0.0009881335658302585 0.000745804089555023 24.52% 32.49% 1.32x
hexbytes_getitem_slice[slice(None,None)-b'\\x01\\x02\\x03'] 0.0008276061285722095 0.0005449430691618691 34.15% 51.87% 1.52x
hexbytes_getitem_slice[slice(None,None)-b'\\x10\\x20\\x30\\x40\\x50'] 0.0008303399444913748 0.0005450621925663998 34.36% 52.34% 1.52x
hexbytes_getitem_slice[slice(None,None)-b'\\x7f'*8] 0.0008143008732158178 0.0005458959733722578 32.96% 49.17% 1.49x
hexbytes_getitem_slice[slice(None,None)-b'\\x80'*8] 0.0008250708229802803 0.0005409246788191139 34.44% 52.53% 1.53x
hexbytes_getitem_slice[slice(None,None)-b'\\xde\\xad\\xbe\\xef'] 0.0008324406476921049 0.0005516707563830226 33.73% 50.89% 1.51x
hexbytes_getitem_slice[slice(None,None)-b'\\xff'*64] 0.0008116286697245213 0.000544593178345406 32.90% 49.03% 1.49x
hexbytes_getitem_slice[slice(None,None)-b'a'*1024] 0.0009311204181691113 0.0006661836567984692 28.45% 39.77% 1.40x
hexbytes_getitem_slice[slice(None,None)-b'abc'] 0.000836019646907117 0.0005489020577331258 34.34% 52.31% 1.52x
hexbytes_getitem_slice[slice(None,None)-long alternating] 0.0009298779656527593 0.0007010040265661758 24.61% 32.65% 1.33x
hexbytes_getitem_slice[slice(None,None)-mixed pattern] 0.0008210621049520257 0.000547782534397325 33.28% 49.89% 1.50x
hexbytes_getitem_slice[slice(None,None)-multiples of 0x10] 0.000821271647850584 0.0005434073613532677 33.83% 51.13% 1.51x
hexbytes_getitem_slice[slice(None,None)-palindrome ascii] 0.0008172678018450827 0.0005394601175808793 33.99% 51.50% 1.51x
hexbytes_getitem_slice[slice(None,None)-palindrome numeric] 0.0008294715898296475 0.0005452833599794324 34.26% 52.12% 1.52x
hexbytes_getitem_slice[slice(None,None)-palindrome] 0.0008208175197956255 0.0005468411107241095 33.38% 50.10% 1.50x
hexbytes_getitem_slice[slice(None,None)-repeated 0-9] 0.0008201416444197437 0.0005421897771472431 33.89% 51.26% 1.51x
hexbytes_getitem_slice[slice(None,None)-single 0xff] 0.0008005333066228206 0.0005224750100934275 34.73% 53.22% 1.53x
hexbytes_getitem_slice[slice(None,None)-single null byte] 0.0007960012198561356 0.0005226063239973421 34.35% 52.31% 1.52x
hexbytes_getitem_slice[slice(None,None)-two patterns] 0.0008232281974630758 0.0005452606794784056 33.77% 50.98% 1.51x
hexbytes_new[''] 0.000757754268066328 0.0003037999962884721 59.91% 149.43% 2.49x
hexbytes_new['0x'] 0.0008269423206888565 0.000304069604983913 63.23% 171.96% 2.72x
hexbytes_new['0x'+'00'*64] 0.0009582992440236723 0.00046891742464617256 51.07% 104.36% 2.04x
hexbytes_new['0x'+'a'*128] 0.0009569293643731387 0.00046213092647708656 51.71% 107.07% 2.07x
hexbytes_new['0x'+'ff'*32] 0.0009449053901966957 0.00042298637742245655 55.24% 123.39% 2.23x
hexbytes_new['0x1234'] 0.0008913141783081943 0.00040276337379372925 54.81% 121.30% 2.21x
hexbytes_new['0xabcdef'] 0.0008992558001867354 0.0004025852860775247 55.23% 123.37% 2.23x
hexbytes_new['0xCAFEBABE'] 0.0009082172134830143 0.0004049072937180751 55.42% 124.30% 2.24x
hexbytes_new['0xdeadbeef'] 0.0009069795394612767 0.000405901132327589 55.25% 123.45% 2.23x
hexbytes_new['abc'] 0.0008894838100929619 0.00042642495966800187 52.06% 108.59% 2.09x
hexbytes_new['deadbeef'] 0.0007916429650405429 0.00038295464326126974 51.63% 106.72% 2.07x
hexbytes_new[0-9] 0.0004500723911427388 0.000256886013446445 42.92% 75.20% 1.75x
hexbytes_new[0] 0.001319452052069793 0.00033715347761212544 74.45% 291.35% 3.91x
hexbytes_new[123456] 0.0013541548490039392 0.0003322270466429852 75.47% 307.60% 4.08x
hexbytes_new[2**16] 0.0013229409403616727 0.0003272318556055555 75.26% 304.28% 4.04x
hexbytes_new[2**256-1] 0.001367086762856177 0.0004157276624210892 69.59% 228.84% 3.29x
hexbytes_new[2**32] 0.001347788400548558 0.00037346290279861665 72.29% 260.89% 3.61x
hexbytes_new[2**64] 0.0013969247911306075 0.0004034379514761705 71.12% 246.26% 3.46x
hexbytes_new[2**8] 0.0013392220675849597 0.00033828826661964673 74.74% 295.88% 3.96x
hexbytes_new[4-byte pattern] 0.0004478081053833724 0.0002652205974164322 40.77% 68.84% 1.69x
hexbytes_new[all byte values] 0.0004500963304495033 0.0002652994978923745 41.06% 69.66% 1.70x
hexbytes_new[alternating 0x00/0xff] 0.00044940018313079544 0.00026394517504035756 41.27% 70.26% 1.70x
hexbytes_new[alternating 0xaa/0x55] 0.00044788638779068237 0.0002681761444744361 40.12% 67.01% 1.67x
hexbytes_new[ascii sentence] 0.00044763171125103673 0.0002575328266173752 42.47% 73.82% 1.74x
hexbytes_new[b''] 0.0004490220341114429 0.0002589402353394455 42.33% 73.41% 1.73x
hexbytes_new[b'\\x00'*32] 0.0004469863155319682 0.00025870809423018736 42.12% 72.78% 1.73x
hexbytes_new[b'\\x00\\xff\\x00\\xff'] 0.00045165474147249545 0.00025920100357182884 42.61% 74.25% 1.74x
hexbytes_new[b'\\x01'*100] 0.000444454367681559 0.0002598894931643889 41.53% 71.02% 1.71x
hexbytes_new[b'\\x01'*2048] 0.0005856394500910712 0.0003684227121267995 37.09% 58.96% 1.59x
hexbytes_new[b'\\x01\\x02\\x03'] 0.0004522693333333866 0.0002592503542470341 42.68% 74.45% 1.74x
hexbytes_new[b'\\x10\\x20\\x30\\x40\\x50'] 0.00045171274684690073 0.0002582743131808013 42.82% 74.90% 1.75x
hexbytes_new[b'\\x7f'*8] 0.00044671415838870246 0.00025807602192591127 42.23% 73.09% 1.73x
hexbytes_new[b'\\x80'*8] 0.00044592823042705125 0.00025783033645389536 42.18% 72.95% 1.73x
hexbytes_new[b'\\xde\\xad\\xbe\\xef'] 0.00045151730559337213 0.00025853482883794477 42.74% 74.64% 1.75x
hexbytes_new[b'\\xff'*64] 0.00044653230982117775 0.00026392419307053847 40.89% 69.19% 1.69x
hexbytes_new[b'a'*1024] 0.0005360954799784457 0.00032080483181546715 40.16% 67.11% 1.67x
hexbytes_new[b'abc'] 0.0004482886770385842 0.00025865388848247267 42.30% 73.32% 1.73x
hexbytes_new[bytearray(0-9)] 0.0007147239000708413 0.00036350103230512593 49.14% 96.62% 1.97x
hexbytes_new[bytearray(4-byte pattern)] 0.0007260039933233533 0.0003817942409891014 47.41% 90.16% 1.90x
hexbytes_new[bytearray(all byte values)] 0.0007256225347766439 0.00038071215345195477 47.53% 90.60% 1.91x
hexbytes_new[bytearray(alternating 0x00/0xff)] 0.0007211359383811815 0.00036722728688866736 49.08% 96.37% 1.96x
hexbytes_new[bytearray(alternating 0xaa/0x55)] 0.000724505428043633 0.00037290878943243655 48.53% 94.28% 1.94x
hexbytes_new[bytearray(ascii sentence)] 0.0007037096188675073 0.00036321124799918505 48.39% 93.75% 1.94x
hexbytes_new[bytearray(b'')] 0.0006885272127508832 0.0003513678184367986 48.97% 95.96% 1.96x
hexbytes_new[bytearray(b'\\x00'*32)] 0.0007090176491842184 0.0003632691136450574 48.76% 95.18% 1.95x
hexbytes_new[bytearray(b'\\x00\\xff\\x00\\xff')] 0.0007204417154420472 0.00036399454275793736 49.48% 97.93% 1.98x
hexbytes_new[bytearray(b'\\x01'*100)] 0.0007189380672140923 0.00038113073261985435 46.99% 88.63% 1.89x
hexbytes_new[bytearray(b'\\x01'*2048)] 0.0009285820713599522 0.0005734741295642643 38.24% 61.92% 1.62x
hexbytes_new[bytearray(b'\\x01\\x02\\x03')] 0.0007205875787517548 0.00037040681636719497 48.60% 94.54% 1.95x
hexbytes_new[bytearray(b'\\x10\\x20\\x30\\x40\\x50')] 0.0007143321306272636 0.0003759592525448842 47.37% 90.00% 1.90x
hexbytes_new[bytearray(b'\\x7f'*8)] 0.000706406803672019 0.0003700114806941257 47.62% 90.91% 1.91x
hexbytes_new[bytearray(b'\\x80'*8)] 0.0007052535422157305 0.0003697674490954403 47.57% 90.73% 1.91x
hexbytes_new[bytearray(b'\\xde\\xad\\xbe\\xef')] 0.0007216473390077882 0.00036127213959422837 49.94% 99.75% 2.00x
hexbytes_new[bytearray(b'\\xff'*64)] 0.0007197339630173948 0.0003790887030354277 47.33% 89.86% 1.90x
hexbytes_new[bytearray(b'a'*1024)] 0.0008679395883931359 0.0005123195785172466 40.97% 69.41% 1.69x
hexbytes_new[bytearray(b'abc')] 0.0007260706001478075 0.00037639889736821756 48.16% 92.90% 1.93x
hexbytes_new[bytearray(long alternating)] 0.0008802710134906211 0.0005174310276454979 41.22% 70.12% 1.70x
hexbytes_new[bytearray(mixed pattern)] 0.0007085809742115532 0.00037486082215570194 47.10% 89.03% 1.89x
hexbytes_new[bytearray(multiples of 0x10)] 0.0007162482308266341 0.0003646714499991955 49.09% 96.41% 1.96x
hexbytes_new[bytearray(palindrome ascii)] 0.0007241641867554398 0.0003688568267496483 49.06% 96.33% 1.96x
hexbytes_new[bytearray(palindrome numeric)] 0.0007239769610980607 0.0003666306163981266 49.36% 97.47% 1.97x
hexbytes_new[bytearray(palindrome)] 0.0007124655667613504 0.00036336029372558695 49.00% 96.08% 1.96x
hexbytes_new[bytearray(repeated 0-9)] 0.0007113264057214728 0.00037392563058100104 47.43% 90.23% 1.90x
hexbytes_new[bytearray(single 0xff)] 0.0007221447646204302 0.00038113225907422926 47.22% 89.47% 1.89x
hexbytes_new[bytearray(single null byte)] 0.0007236679090912293 0.0003734761854167232 48.39% 93.77% 1.94x
hexbytes_new[bytearray(two patterns)] 0.0007110239444030073 0.00037213495239773564 47.66% 91.07% 1.91x
hexbytes_new[False] 0.0006415256864060123 0.0002730787666117531 57.43% 134.92% 2.35x
hexbytes_new[long alternating] 0.0005371319589851772 0.00032499921621640705 39.49% 65.27% 1.65x
hexbytes_new[memoryview(0-9)] 0.0008565102106212418 0.00042522463896364917 50.35% 101.43% 2.01x
hexbytes_new[memoryview(4-byte pattern)] 0.0008582471027021949 0.00044009980501899016 48.72% 95.01% 1.95x
hexbytes_new[memoryview(all byte values)] 0.0008994292542217885 0.0004400569171305914 51.07% 104.39% 2.04x
hexbytes_new[memoryview(alternating 0x00/0xff)] 0.0008718492835288915 0.0004331005605451048 50.32% 101.30% 2.01x
hexbytes_new[memoryview(alternating 0xaa/0x55)] 0.0008746447594591234 0.0004321919627861081 50.59% 102.37% 2.02x
hexbytes_new[memoryview(ascii sentence)] 0.0008585326527901512 0.000424707008444582 50.53% 102.15% 2.02x
hexbytes_new[memoryview(b'')] 0.0008437798745650032 0.00041158992111806617 51.22% 105.00% 2.05x
hexbytes_new[memoryview(b'\\x00'*32)] 0.000857915107370837 0.0004271552051621804 50.21% 100.84% 2.01x
hexbytes_new[memoryview(b'\\x00\\xff\\x00\\xff')] 0.000882532777063768 0.0004367629558536885 50.51% 102.06% 2.02x
hexbytes_new[memoryview(b'\\x01'*100)] 0.0008674034030663606 0.0004399926009784384 49.27% 97.14% 1.97x
hexbytes_new[memoryview(b'\\x01'*2048)] 0.0010780444458096962 0.0006162139536164039 42.84% 74.95% 1.75x
hexbytes_new[memoryview(b'\\x01\\x02\\x03')] 0.0008738147944957875 0.0004440483371827104 49.18% 96.78% 1.97x
hexbytes_new[memoryview(b'\\x10\\x20\\x30\\x40\\x50')] 0.0008669681717348607 0.00043783940027148645 49.50% 98.01% 1.98x
hexbytes_new[memoryview(b'\\x7f'*8)] 0.0008590812534972489 0.00042749653291007623 50.24% 100.96% 2.01x
hexbytes_new[memoryview(b'\\x80'*8)] 0.0008640356555462072 0.000428486321927321 50.41% 101.65% 2.02x
hexbytes_new[memoryview(b'\\xde\\xad\\xbe\\xef')] 0.000872272317228803 0.00044100763516045644 49.44% 97.79% 1.98x
hexbytes_new[memoryview(b'\\xff'*64)] 0.0008521242883428243 0.00043531220597581316 48.91% 95.75% 1.96x
hexbytes_new[memoryview(b'a'*1024)] 0.0010241470762707408 0.0005663835443327867 44.70% 80.82% 1.81x
hexbytes_new[memoryview(b'abc')] 0.0008639861737589696 0.0004377209904712122 49.34% 97.38% 1.97x
hexbytes_new[memoryview(long alternating)] 0.0010341841847946577 0.0005734815408985979 44.55% 80.33% 1.80x
hexbytes_new[memoryview(mixed pattern)] 0.0008687273132072475 0.000431721683114781 50.30% 101.22% 2.01x
hexbytes_new[memoryview(multiples of 0x10)] 0.0008640838101272802 0.00042910188582417815 50.34% 101.37% 2.01x
hexbytes_new[memoryview(palindrome ascii)] 0.0008541986275025895 0.0004285618140037431 49.83% 99.32% 1.99x
hexbytes_new[memoryview(palindrome numeric)] 0.0008705610869556963 0.00043365357420934434 50.19% 100.75% 2.01x
hexbytes_new[memoryview(palindrome)] 0.0008631575093162987 0.00042637047852445956 50.60% 102.44% 2.02x
hexbytes_new[memoryview(repeated 0-9)] 0.0008642466207200959 0.00043600815955043665 49.55% 98.22% 1.98x
hexbytes_new[memoryview(single 0xff)] 0.00087534457865746 0.0004404171705971583 49.69% 98.75% 1.99x
hexbytes_new[memoryview(single null byte)] 0.0008708785578489427 0.00043718693433214713 49.80% 99.20% 1.99x
hexbytes_new[memoryview(two patterns)] 0.0008661831657605859 0.00043519020338303406 49.76% 99.04% 1.99x
hexbytes_new[mixed pattern] 0.0004434548649837562 0.0002638110997087189 40.51% 68.10% 1.68x
hexbytes_new[multiples of 0x10] 0.0004486355218212265 0.00027094833247080666 39.61% 65.58% 1.66x
hexbytes_new[palindrome ascii] 0.0004464134247827961 0.00025713930147557034 42.40% 73.61% 1.74x
hexbytes_new[palindrome numeric] 0.00044864289449726225 0.00025831598394159737 42.42% 73.68% 1.74x
hexbytes_new[palindrome] 0.0004528710406628706 0.0002571551911568608 43.22% 76.11% 1.76x
hexbytes_new[repeated 0-9] 0.0004444669893098485 0.00026089474213822887 41.30% 70.36% 1.70x
hexbytes_new[single 0xff] 0.0004467003042514859 0.00025952517627115607 41.90% 72.12% 1.72x
hexbytes_new[single null byte] 0.00044573837975903384 0.00026093550701684215 41.46% 70.82% 1.71x
hexbytes_new[True] 0.0006440837860563737 0.0002716172665764159 57.83% 137.13% 2.37x
hexbytes_new[two patterns] 0.00044682767098675597 0.0002633703934613961 41.06% 69.66% 1.70x
hexbytes_repr[0-9] 0.00033922792064773556 0.00016989981190052326 49.92% 99.66% 2.00x
hexbytes_repr[4-byte pattern] 0.001279914801801332 0.0004346877486002763 66.04% 194.44% 2.94x
hexbytes_repr[all byte values] 0.001280402367572028 0.00043425779146067257 66.08% 194.85% 2.95x
hexbytes_repr[alternating 0x00/0xff] 0.0005370929473660833 0.00021988776787381137 59.06% 144.26% 2.44x
hexbytes_repr[alternating 0xaa/0x55] 0.0005379535419108864 0.0002198460219314254 59.13% 144.70% 2.45x
hexbytes_repr[ascii sentence] 0.0004554087769364886 0.00020356425507253757 55.30% 123.72% 2.24x
hexbytes_repr[b''] 0.00025362156572135484 0.00013274478395498883 47.66% 91.06% 1.91x
hexbytes_repr[b'\\x00'*32] 0.0004103774086844182 0.0001938119050698003 52.77% 111.74% 2.12x
hexbytes_repr[b'\\x00\\xff\\x00\\xff'] 0.0003173777819208751 0.00016552755642513386 47.85% 91.74% 1.92x
hexbytes_repr[b'\\x01'*100] 0.000666131876151638 0.0002567692371680952 61.45% 159.43% 2.59x
hexbytes_repr[b'\\x01'*2048] 0.007687910325571924 0.0022725677614704566 70.44% 238.29% 3.38x
hexbytes_repr[b'\\x01\\x02\\x03'] 0.0003149191275297256 0.00016509006893973262 47.58% 90.76% 1.91x
hexbytes_repr[b'\\x10\\x20\\x30\\x40\\x50'] 0.0003187222869787323 0.00016273411888154192 48.94% 95.85% 1.96x
hexbytes_repr[b'\\x7f'*8] 0.0003329991542795781 0.00016800480992311225 49.55% 98.21% 1.98x
hexbytes_repr[b'\\x80'*8] 0.0003320421245065122 0.00016794727743903702 49.42% 97.71% 1.98x
hexbytes_repr[b'\\xde\\xad\\xbe\\xef'] 0.00031445957432135236 0.00016486711529476619 47.57% 90.74% 1.91x
hexbytes_repr[b'\\xff'*64] 0.0005394630374324147 0.00022031769788866148 59.16% 144.86% 2.45x
hexbytes_repr[b'a'*1024] 0.004022892386182675 0.0012185643219713182 69.71% 230.13% 3.30x
hexbytes_repr[b'abc'] 0.0003083634838087758 0.00015991612231996917 48.14% 92.83% 1.93x
hexbytes_repr[long alternating] 0.0040216405528448506 0.0012659734905423033 68.52% 217.67% 3.18x
hexbytes_repr[mixed pattern] 0.0010338811124981362 0.0003645171094212625 64.74% 183.63% 2.84x
hexbytes_repr[multiples of 0x10] 0.0003385611481090509 0.00016891875025227336 50.11% 100.43% 2.00x
hexbytes_repr[palindrome ascii] 0.0003259771543055348 0.00016723204005522605 48.70% 94.93% 1.95x
hexbytes_repr[palindrome numeric] 0.0003194716573764088 0.0001641684732947905 48.61% 94.60% 1.95x
hexbytes_repr[palindrome] 0.0003778763232722478 0.00017877003532093503 52.69% 111.38% 2.11x
hexbytes_repr[repeated 0-9] 0.0006648708050460347 0.0002541603622702333 61.77% 161.60% 2.62x
hexbytes_repr[single 0xff] 0.0003103757620365679 0.00015789138163013609 49.13% 96.58% 1.97x
hexbytes_repr[single null byte] 0.00031159661583246437 0.00015821502466189274 49.22% 96.95% 1.97x
hexbytes_repr[two patterns] 0.0005367750592353354 0.0002199289689872869 59.03% 144.07% 2.44x
hexbytes_to_0x_hex[0-9] 0.00019352976747362378 0.00016308632217140165 15.73% 18.67% 1.19x
hexbytes_to_0x_hex[4-byte pattern] 0.00046192162191404285 0.00042232704361551025 8.57% 9.38% 1.09x
hexbytes_to_0x_hex[all byte values] 0.0004622796852294702 0.0004225225837367211 8.60% 9.41% 1.09x
hexbytes_to_0x_hex[alternating 0x00/0xff] 0.00024321600609835057 0.00021710540042974174 10.74% 12.03% 1.12x
hexbytes_to_0x_hex[alternating 0xaa/0x55] 0.0002462976917170199 0.00021653940201675481 12.08% 13.74% 1.14x
hexbytes_to_0x_hex[ascii sentence] 0.00022967253309304285 0.00019514564356921894 15.03% 17.69% 1.18x
hexbytes_to_0x_hex[b''] 0.00012041611530385012 0.0001276137285272908 -5.98% -5.64% 0.94x
hexbytes_to_0x_hex[b'\\x00'*32] 0.00021255503659637717 0.00018257021625932786 14.11% 16.42% 1.16x
hexbytes_to_0x_hex[b'\\x00\\xff\\x00\\xff'] 0.00018601680891382313 0.00015657361165486084 15.83% 18.80% 1.19x
hexbytes_to_0x_hex[b'\\x01'*100] 0.00028344633852600494 0.00025980838199248445 8.34% 9.10% 1.09x
hexbytes_to_0x_hex[b'\\x01'*2048] 0.002268778036054733 0.0022572997718941523 0.51% 0.51% 1.01x
hexbytes_to_0x_hex[b'\\x01\\x02\\x03'] 0.00018554720918197121 0.00015208882785467927 18.03% 22.00% 1.22x
hexbytes_to_0x_hex[b'\\x10\\x20\\x30\\x40\\x50'] 0.00018866914385410593 0.0001551048937755185 17.79% 21.64% 1.22x
hexbytes_to_0x_hex[b'\\x7f'*8] 0.0001900393107410433 0.00016099646051001887 15.28% 18.04% 1.18x
hexbytes_to_0x_hex[b'\\x80'*8] 0.00019063376113710495 0.00016132282075111641 15.38% 18.17% 1.18x
hexbytes_to_0x_hex[b'\\xde\\xad\\xbe\\xef'] 0.0001872972504210108 0.0001560105609550307 16.70% 20.05% 1.20x
hexbytes_to_0x_hex[b'\\xff'*64] 0.0002471245350102996 0.00021662218606572264 12.34% 14.08% 1.14x
hexbytes_to_0x_hex[b'a'*1024] 0.0012644382529915445 0.0012085346593637535 4.42% 4.63% 1.05x
hexbytes_to_0x_hex[b'abc'] 0.0001833200523765169 0.00015326846917694255 16.39% 19.61% 1.20x
hexbytes_to_0x_hex[long alternating] 0.0012335310987226969 0.0012505463879766735 -1.38% -1.36% 0.99x
hexbytes_to_0x_hex[mixed pattern] 0.000392537704754892 0.0003654975536560558 6.89% 7.40% 1.07x
hexbytes_to_0x_hex[multiples of 0x10] 0.00019223878321269558 0.00016326642561714403 15.07% 17.75% 1.18x
hexbytes_to_0x_hex[palindrome ascii] 0.00019090588223043975 0.00015838396142307364 17.04% 20.53% 1.21x
hexbytes_to_0x_hex[palindrome numeric] 0.00018830275126890296 0.00015522279563818877 17.57% 21.31% 1.21x
hexbytes_to_0x_hex[palindrome] 0.00020166682124741044 0.00017068296280008384 15.36% 18.15% 1.18x
hexbytes_to_0x_hex[repeated 0-9] 0.0002836380457624036 0.0002599344959356544 8.36% 9.12% 1.09x
hexbytes_to_0x_hex[single 0xff] 0.0001858824280030895 0.00015204830975232406 18.20% 22.25% 1.22x
hexbytes_to_0x_hex[single null byte] 0.0001849049852103264 0.00015137649488718572 18.13% 22.15% 1.22x
hexbytes_to_0x_hex[two patterns] 0.00024541612362110883 0.00021676971356573226 11.67% 13.22% 1.13x

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.

1 participant