Skip to content

Conversation

@renovate
Copy link

@renovate renovate bot commented Nov 28, 2025

This PR contains the following updates:

Package Change Age Confidence
mypy (changelog) ==1.10.0 -> ==1.19.0 age confidence
mypy (changelog) ==1.18.2 -> ==1.19.0 age confidence

Release Notes

python/mypy (mypy)

v1.19.0

Compare Source

v1.18.2

Compare Source

  • Fix crash on recursive alias (Ivan Levkivskyi, PR 19845)
  • Add additional guidance for stubtest errors when runtime is object.__init__ (Stephen Morton, PR 19733)
  • Fix handling of None values in f-string expressions in mypyc (BobTheBuidler, PR 19846)

v1.18.1

Compare Source

We’ve just uploaded mypy 1.18.1 to the Python Package Index (PyPI).
Mypy is a static type checker for Python. This release includes new features, performance
improvements and bug fixes. You can install it as follows:

python3 -m pip install -U mypy

You can read the full documentation for this release on Read the Docs.

Mypy Performance Improvements

Mypy 1.18.1 includes numerous performance improvements, resulting in about 40% speedup
compared to 1.17 when type checking mypy itself. In extreme cases, the improvement
can be 10x or higher. The list below is an overview of the various mypy optimizations.
Many mypyc improvements (discussed in a separate section below) also improve performance.

Type caching optimizations have a small risk of causing regressions. When
reporting issues with unexpected inferred types, please also check if
--disable-expression-cache will work around the issue, as it turns off some of
these optimizations.

  • Improve self check performance by 1.8% (Jukka Lehtosalo, PR 19768, 19769, 19770)
  • Optimize fixed-format deserialization (Ivan Levkivskyi, PR 19765)
  • Use macros to optimize fixed-format deserialization (Ivan Levkivskyi, PR 19757)
  • Two additional micro‑optimizations (Ivan Levkivskyi, PR 19627)
  • Another set of micro‑optimizations (Ivan Levkivskyi, PR 19633)
  • Cache common types (Ivan Levkivskyi, PR 19621)
  • Skip more method bodies in third‑party libraries for speed (Ivan Levkivskyi, PR 19586)
  • Simplify the representation of callable types (Ivan Levkivskyi, PR 19580)
  • Add cache for types of some expressions (Ivan Levkivskyi, PR 19505)
  • Use cache for dictionary expressions (Ivan Levkivskyi, PR 19536)
  • Use cache for binary operations (Ivan Levkivskyi, PR 19523)
  • Cache types of type objects (Ivan Levkivskyi, PR 19514)
  • Avoid duplicate work when checking boolean operations (Ivan Levkivskyi, PR 19515)
  • Optimize generic inference passes (Ivan Levkivskyi, PR 19501)
  • Speed up the default plugin (Jukka Lehtosalo, PRs 19385 and 19462)
  • Remove nested imports from the default plugin (Ivan Levkivskyi, PR 19388)
  • Micro‑optimize type expansion (Jukka Lehtosalo, PR 19461)
  • Micro‑optimize type indirection (Jukka Lehtosalo, PR 19460)
  • Micro‑optimize the plugin framework (Jukka Lehtosalo, PR 19464)
  • Avoid temporary set creation in subtype checking (Jukka Lehtosalo, PR 19463)
  • Subtype checking micro‑optimization (Jukka Lehtosalo, PR 19384)
  • Return early where possible in subtype check (Stanislav Terliakov, PR 19400)
  • Deduplicate some types before joining (Stanislav Terliakov, PR 19409)
  • Speed up type checking by caching argument inference context (Jukka Lehtosalo, PR 19323)
  • Optimize binding method self argument type and deprecation checks (Ivan Levkivskyi, PR 19556)
  • Keep trivial instance types/aliases during expansion (Ivan Levkivskyi, PR 19543)
Fixed‑Format Cache (Experimental)

Mypy now supports a new cache format used for faster incremental builds. It makes
incremental builds up to twice as fast. The feature is experimental and
currently only supported when using a compiled version of mypy. Use --fixed-format-cache
to enable the new format, or fixed_format_cache = True in a configuration file.

We plan to enable this by default in a future mypy release, and we'll eventually
deprecate and remove support for the original JSON-based format.

Unlike the JSON-based cache format, the new binary format is currently
not easy to parse and inspect by mypy users. We are planning to provide a tool to
convert fixed-format cache files to JSON, but details of the output JSON may be
different from the current JSON format. If you rely on being able to inspect
mypy cache files, we recommend creating a GitHub issue and explaining your use
case, so that we can more likely provide support for it. (Using
MypyFile.read(binary_data) to inspect cache data may be sufficient to support
some use cases.)

This feature was contributed by Ivan Levkivskyi (PR 19668, 19735, 19750, 19681, 19752, 19815).

Flexible Variable Definitions: Update

Mypy 1.16.0 introduced --allow-redefinition-new, which allows redefining variables
with different types, and inferring union types for variables from multiple assignments.
The feature is now documented in the --help output, but the feature is still experimental.

We are planning to enable this by default in mypy 2.0, and we will also deprecate the
older --allow-redefinition flag. Since the new behavior differs significantly from
the older flag, we encourage users of --allow-redefinition to experiment with
--allow-redefinition-new and create a GitHub issue if the new functionality doesn't
support some important use cases.

This feature was contributed by Jukka Lehtosalo.

Inferred Type for Bare ClassVar

A ClassVar without an explicit type annotation now causes the type of the variable
to be inferred from the initializer:

from typing import ClassVar

class Item:

### Type of 'next_id' is now 'int' (it was 'Any')
    next_id: ClassVar = 1

    ...

This feature was contributed by Ivan Levkivskyi (PR 19573).

Disjoint Base Classes (@​disjoint_base, PEP 800)

Mypy now understands disjoint bases (PEP 800): it recognizes the @disjoint_base
decorator, and rejects class definitions that combine mutually incompatible base classes,
and takes advantage of the fact that such classes cannot exist in reachability and
narrowing logic.

This class definition will now generate an error:

v1.17.1

Compare Source

  • Retain None as constraints bottom if no bottoms were provided (Stanislav Terliakov, PR 19485)
  • Fix "ignored exception in hasattr" in dmypy (Stanislav Terliakov, PR 19428)
  • Prevent a crash when InitVar is redefined with a method in a subclass (Stanislav Terliakov, PR 19453)

v1.17.0

Compare Source

v1.16.1

Compare Source

v1.16.0

Compare Source

v1.15.0

Compare Source

v1.14.1

Compare Source

v1.14.0

Compare Source

v1.13.0

Compare Source

v1.12.1

Compare Source

  • Fix crash when showing partially analyzed type in error message (Ivan Levkivskyi, PR 17961)
  • Fix iteration over union (when self type is involved) (Shantanu, PR 17976)
  • Fix type object with type var default in union context (Jukka Lehtosalo, PR 17991)
  • Revert change to os.path stubs affecting use of os.PathLike[Any] (Shantanu, PR 17995)

v1.12.0

Compare Source

v1.11.2

Compare Source

  • Alternative fix for a union-like literal string (Ivan Levkivskyi, PR 17639)
  • Unwrap TypedDict item types before storing (Ivan Levkivskyi, PR 17640)

v1.11.1

Compare Source

  • Fix RawExpressionType.accept crash with --cache-fine-grained (Anders Kaseorg, PR 17588)
  • Fix PEP 604 isinstance caching (Shantanu, PR 17563)
  • Fix typing.TypeAliasType being undefined on python < 3.12 (Nikita Sobolev, PR 17558)
  • Fix types.GenericAlias lookup crash (Shantanu, PR 17543)

v1.11.0

Compare Source

v1.10.1

Compare Source

  • Fix error reporting on cached run after uninstallation of third party library (Shantanu, PR 17420)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@codspeed-hq
Copy link

codspeed-hq bot commented Nov 28, 2025

CodSpeed Performance Report

Merging #54 will not alter performance

Comparing renovate/mypy-1.x (a4ad14d) with master (a99a360)1

Summary

✅ 619 untouched

Footnotes

  1. No successful run was found on master (e341ac2) during the generation of this report, so a99a360 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.000019419862930955873 0.000011629043865373317 40.12% 66.99% 1.67x
hexstr_to_bytes['0x'] 0.000022075610940580255 0.000010963358118199684 50.34% 101.36% 2.01x
hexstr_to_bytes['0x'+'0'*128] 0.00003518191914380229 0.000023724029642163475 32.57% 48.30% 1.48x
hexstr_to_bytes['0x'+'00'*64] 0.00003461295067906949 0.00002391304764714139 30.91% 44.75% 1.45x
hexstr_to_bytes['0x'+'00ff'*16] 0.00003118930510335697 0.000020464047154440806 34.39% 52.41% 1.52x
hexstr_to_bytes['0x'+'0123456789abcdef'*8] 0.0000347609259495657 0.000023964613958903773 31.06% 45.05% 1.45x
hexstr_to_bytes['0x'+'1'*64] 0.00003110114714421164 0.000020274009531233827 34.81% 53.40% 1.53x
hexstr_to_bytes['0x'+'1234567890abcdef'*8] 0.00003466309641207041 0.00002421060875875965 30.15% 43.17% 1.43x
hexstr_to_bytes['0x'+'a'*128] 0.00003468332592455265 0.00002490538331421715 28.19% 39.26% 1.39x
hexstr_to_bytes['0x'+'a1b2c3d4'*8] 0.00003113818994128079 0.000020335999003923132 34.69% 53.12% 1.53x
hexstr_to_bytes['0x'+'b'*2048] 0.00014342724582727586 0.0001298397545987827 9.47% 10.46% 1.10x
hexstr_to_bytes['0x'+'badc0ffee0ddf00d'*4] 0.000031060419945126685 0.000020223043974235843 34.89% 53.59% 1.54x
hexstr_to_bytes['0x'+'beef'*16] 0.000031227794877107174 0.00002030564643437115 34.98% 53.79% 1.54x
hexstr_to_bytes['0x'+'c'*1024] 0.00009215554332522947 0.00007777029942280285 15.61% 18.50% 1.18x
hexstr_to_bytes['0x'+'cafebabe'*8] 0.000031160744673725854 0.000020164319852599825 35.29% 54.53% 1.55x
hexstr_to_bytes['0x'+'d'*512] 0.000058760808593451744 0.00004505210475023296 23.33% 30.43% 1.30x
hexstr_to_bytes['0x'+'dead'*16] 0.000031149057495522025 0.000020318008193202167 34.77% 53.31% 1.53x
hexstr_to_bytes['0x'+'e'*256] 0.00004366062862467373 0.00003176001314978369 27.26% 37.47% 1.37x
hexstr_to_bytes['0x'+'f'*128] 0.00003526356846239419 0.0000238756017761541 32.29% 47.70% 1.48x
hexstr_to_bytes['0x'+'f'*64] 0.00003084763959861864 0.00002020695539607376 34.49% 52.66% 1.53x
hexstr_to_bytes['0x'+'facefeed'*8] 0.00003119853418252387 0.000020324676648108313 34.85% 53.50% 1.54x
hexstr_to_bytes['0x'+'ff'*32] 0.000031803838968759516 0.000020725814841529102 34.83% 53.45% 1.53x
hexstr_to_bytes['0x'+'ff00'*16] 0.000031291801956892816 0.000020440375151948034 34.68% 53.09% 1.53x
hexstr_to_bytes['0x0'] 0.00003144336074673661 0.000019228332193432802 38.85% 63.53% 1.64x
hexstr_to_bytes['0x1'] 0.000031566130414930695 0.000019338950467584154 38.74% 63.23% 1.63x
hexstr_to_bytes['0x1234'] 0.000028967720788115553 0.00001781106341853861 38.51% 62.64% 1.63x
hexstr_to_bytes['0xabcdef'] 0.000029088842864991445 0.000018552296155944452 36.22% 56.79% 1.57x
hexstr_to_bytes['0xCAFEBABE'] 0.000028945838228684368 0.000018684301957388184 35.45% 54.92% 1.55x
hexstr_to_bytes['0xdeadbeef'] 0.000028619673682826858 0.000018637376950953434 34.88% 53.56% 1.54x
hexstr_to_bytes['deadbeef'] 0.00002390228675372879 0.000014879046733446165 37.75% 60.64% 1.61x
to_bytes[''] 0.00002959958449026751 0.000012375304969006113 58.19% 139.18% 2.39x
to_bytes['0x'] 0.000032520801920346825 0.00001184836706707156 63.57% 174.47% 2.74x
to_bytes['0x'+'00'*64] 0.000045198024397455976 0.00002477897561511023 45.18% 82.40% 1.82x
to_bytes['0x'+'a'*128] 0.00004547973494206294 0.000024700803050165713 45.69% 84.12% 1.84x
to_bytes['0x'+'ff'*32] 0.000041890592635454925 0.00002219890359694137 47.01% 88.71% 1.89x
to_bytes['0x1234'] 0.00003983497667223732 0.000018723239063183878 53.00% 112.76% 2.13x
to_bytes['0xabcdef'] 0.00004027865084121498 0.000019127347251562234 52.51% 110.58% 2.11x
to_bytes['0xCAFEBABE'] 0.00003996279261379829 0.0000186990056463294 53.21% 113.72% 2.14x
to_bytes['0xdeadbeef'] 0.00003990904332692377 0.000018781446354666548 52.94% 112.49% 2.12x
to_bytes['abc'] 0.000040058487313101216 0.0000206078384304258 48.56% 94.38% 1.94x
to_bytes['deadbeef'] 0.00003426158560298838 0.00001573428753338212 54.08% 117.75% 2.18x
to_bytes[0-9] 0.000007159932630497096 0.000003507563513009006 51.01% 104.13% 2.04x
to_bytes[0] 0.0000754637439918907 0.000032187081071591154 57.35% 134.45% 2.34x
to_bytes[123456] 0.00007773351039753666 0.00003594456901296922 53.76% 116.26% 2.16x
to_bytes[2**16] 0.00007942857281789916 0.00003615296334900131 54.48% 119.70% 2.20x
to_bytes[2**256-1] 0.00008172646494113046 0.00004159478852799232 49.10% 96.48% 1.96x
to_bytes[2**32] 0.00008087938079074996 0.00003851017162706278 52.39% 110.02% 2.10x
to_bytes[2**64] 0.0000819612598795548 0.00004059079591023301 50.48% 101.92% 2.02x
to_bytes[2**8] 0.00007711743327581545 0.00003478894946508459 54.89% 121.67% 2.22x
to_bytes[4-byte pattern] 0.0000072406279025624125 0.0000035109225286679394 51.51% 106.23% 2.06x
to_bytes[all byte values] 0.000007264923876649688 0.0000035085817067868666 51.71% 107.06% 2.07x
to_bytes[alternating 0x00/0xff] 0.000007240075918634008 0.0000034959308747264314 51.71% 107.10% 2.07x
to_bytes[alternating 0xaa/0x55] 0.000007281161065748138 0.000003606724951282478 50.46% 101.88% 2.02x
to_bytes[ascii sentence] 0.0000069369178432936045 0.000003505159598396225 49.47% 97.91% 1.98x
to_bytes[b''] 0.0000070719581867909195 0.0000034188265676519707 51.66% 106.85% 2.07x
to_bytes[b'\\x00'*32] 0.0000071710365863005425 0.0000035096563737116128 51.06% 104.32% 2.04x
to_bytes[b'\\x00\\xff\\x00\\xff'] 0.000007230551650877344 0.0000034909858526268442 51.72% 107.12% 2.07x
to_bytes[b'\\x01'*100] 0.000007317073790221151 0.000003463823901494196 52.66% 111.24% 2.11x
to_bytes[b'\\x01'*2048] 0.000007249464252732498 0.0000034618925078524513 52.25% 109.41% 2.09x
to_bytes[b'\\x01\\x02\\x03'] 0.000007263955585082022 0.000003582926772809433 50.68% 102.74% 2.03x
to_bytes[b'\\x10\\x20\\x30\\x40\\x50'] 0.000007282306542363843 0.0000034843784360663982 52.15% 109.00% 2.09x
to_bytes[b'\\x7f'*8] 0.0000071701553928428346 0.000003508844422161596 51.06% 104.35% 2.04x
to_bytes[b'\\x80'*8] 0.000007373452685234963 0.0000035038092151958775 52.48% 110.44% 2.10x
to_bytes[b'\\xde\\xad\\xbe\\xef'] 0.000007226184759234021 0.0000035155392727308414 51.35% 105.55% 2.06x
to_bytes[b'\\xff'*64] 0.000007162335591065838 0.000003518769123496925 50.87% 103.55% 2.04x
to_bytes[b'a'*1024] 0.000007122183429915635 0.0000035079860809692 50.75% 103.03% 2.03x
to_bytes[b'abc'] 0.000006900540055123748 0.0000035021107017040627 49.25% 97.04% 1.97x
to_bytes[bytearray(0-9)] 0.000029434542842721704 0.000013746964776236423 53.30% 114.12% 2.14x
to_bytes[bytearray(4-byte pattern)] 0.000029957725976840368 0.000014665378595084286 51.05% 104.28% 2.04x
to_bytes[bytearray(all byte values)] 0.000030239492061366228 0.00001398150421591634 53.76% 116.28% 2.16x
to_bytes[bytearray(alternating 0x00/0xff)] 0.000029081414361147338 0.000013693242792816199 52.91% 112.38% 2.12x
to_bytes[bytearray(alternating 0xaa/0x55)] 0.000028938003521998133 0.000013827235517938068 52.22% 109.28% 2.09x
to_bytes[bytearray(ascii sentence)] 0.0000293280051989348 0.000013670200123239003 53.39% 114.54% 2.15x
to_bytes[bytearray(b'')] 0.000027078837259272896 0.000011604261165536074 57.15% 133.35% 2.33x
to_bytes[bytearray(b'\\x00'*32)] 0.00002928774934247927 0.000013730718158936215 53.12% 113.30% 2.13x
to_bytes[bytearray(b'\\x00\\xff\\x00\\xff')] 0.000029086908262103117 0.000013684201032897524 52.95% 112.56% 2.13x
to_bytes[bytearray(b'\\x01'*100)] 0.000029458704691884837 0.00001380901131215634 53.12% 113.33% 2.13x
to_bytes[bytearray(b'\\x01'*2048)] 0.00003775915228301328 0.00002177785320144928 42.32% 73.38% 1.73x
to_bytes[bytearray(b'\\x01\\x02\\x03')] 0.000028696970335501525 0.000013872692228471516 51.66% 106.86% 2.07x
to_bytes[bytearray(b'\\x10\\x20\\x30\\x40\\x50')] 0.000028731937055297018 0.000013849191706557193 51.80% 107.46% 2.07x
to_bytes[bytearray(b'\\x7f'*8)] 0.000029235441079832144 0.000013879947166986843 52.52% 110.63% 2.11x
to_bytes[bytearray(b'\\x80'*8)] 0.000029309871046270685 0.000013656235318541514 53.41% 114.63% 2.15x
to_bytes[bytearray(b'\\xde\\xad\\xbe\\xef')] 0.000029069591406036945 0.000013659537475956281 53.01% 112.82% 2.13x
to_bytes[bytearray(b'\\xff'*64)] 0.0000296229371153481 0.000013613409849718018 54.04% 117.60% 2.18x
to_bytes[bytearray(b'a'*1024)] 0.000036731451003757084 0.0000209224469590436 43.04% 75.56% 1.76x
to_bytes[bytearray(b'abc')] 0.00002884279673564245 0.000013757151535672879 52.30% 109.66% 2.10x
to_bytes[bytearray(long alternating)] 0.00003670242233741266 0.000020721942339526527 43.54% 77.12% 1.77x
to_bytes[bytearray(mixed pattern)] 0.000029733112419982518 0.000013810420224363009 53.55% 115.29% 2.15x
to_bytes[bytearray(multiples of 0x10)] 0.00002920496495844577 0.000013687776677168447 53.13% 113.37% 2.13x
to_bytes[bytearray(palindrome ascii)] 0.00002896293848469052 0.000013693769689980306 52.72% 111.50% 2.12x
to_bytes[bytearray(palindrome numeric)] 0.000028895862483319712 0.000013737477152192614 52.46% 110.34% 2.10x
to_bytes[bytearray(palindrome)] 0.000029341151592881032 0.000013710922167213089 53.27% 114.00% 2.14x
to_bytes[bytearray(repeated 0-9)] 0.000030079684499822855 0.000014202361241844288 52.78% 111.79% 2.12x
to_bytes[bytearray(single 0xff)] 0.00002887906873532118 0.00001394282559940811 51.72% 107.12% 2.07x
to_bytes[bytearray(single null byte)] 0.00002891863310831955 0.000013966766748042423 51.70% 107.05% 2.07x
to_bytes[bytearray(two patterns)] 0.00002975122089278853 0.000013627657804639159 54.19% 118.31% 2.18x
to_bytes[False] 0.000022997870491225624 0.000004096333372349118 82.19% 461.43% 5.61x
to_bytes[long alternating] 0.000007244358569428606 0.0000035153872511249093 51.47% 106.08% 2.06x
to_bytes[memoryview(0-9)] 0.00004359695731791223 0.00001849948412130934 57.57% 135.67% 2.36x
to_bytes[memoryview(4-byte pattern)] 0.00004419434354850977 0.000018724525769559982 57.63% 136.02% 2.36x
to_bytes[memoryview(all byte values)] 0.00004406031065801307 0.000018722281005238763 57.51% 135.34% 2.35x
to_bytes[memoryview(alternating 0x00/0xff)] 0.000042171872877620945 0.000018717517232651214 55.62% 125.31% 2.25x
to_bytes[memoryview(alternating 0xaa/0x55)] 0.000044032308295852776 0.00001846224260450914 58.07% 138.50% 2.38x
to_bytes[memoryview(ascii sentence)] 0.00004427788653645739 0.000018721914142846414 57.72% 136.50% 2.37x
to_bytes[memoryview(b'')] 0.00004131256253850259 0.000016741177230851805 59.48% 146.77% 2.47x
to_bytes[memoryview(b'\\x00'*32)] 0.00004268072432105034 0.00001843494162948922 56.81% 131.52% 2.32x
to_bytes[memoryview(b'\\x00\\xff\\x00\\xff')] 0.00004314160970098064 0.000018692680642891905 56.67% 130.79% 2.31x
to_bytes[memoryview(b'\\x01'*100)] 0.00004342844209812585 0.000018958516781317524 56.35% 129.07% 2.29x
to_bytes[memoryview(b'\\x01'*2048)] 0.00005261609782014629 0.00002570062482118156 51.15% 104.73% 2.05x
to_bytes[memoryview(b'\\x01\\x02\\x03')] 0.000043285430202314896 0.000018333547129639845 57.64% 136.10% 2.36x
to_bytes[memoryview(b'\\x10\\x20\\x30\\x40\\x50')] 0.00004273859578974468 0.00001859398130252353 56.49% 129.85% 2.30x
to_bytes[memoryview(b'\\x7f'*8)] 0.00004252015273863468 0.00001862477345009159 56.20% 128.30% 2.28x
to_bytes[memoryview(b'\\x80'*8)] 0.000043087710443296744 0.000018502271192387428 57.06% 132.88% 2.33x
to_bytes[memoryview(b'\\xde\\xad\\xbe\\xef')] 0.00004263097435783834 0.000018627176810651538 56.31% 128.86% 2.29x
to_bytes[memoryview(b'\\xff'*64)] 0.00004213883241570393 0.000018763414634743457 55.47% 124.58% 2.25x
to_bytes[memoryview(b'a'*1024)] 0.000050958705182818696 0.000024558213833160987 51.81% 107.50% 2.08x
to_bytes[memoryview(b'abc')] 0.00004287597073413364 0.000018407334637469094 57.07% 132.93% 2.33x
to_bytes[memoryview(long alternating)] 0.00005166805347576568 0.00002452090704828567 52.54% 110.71% 2.11x
to_bytes[memoryview(mixed pattern)] 0.00004410694717498342 0.00001873280151113958 57.53% 135.45% 2.35x
to_bytes[memoryview(multiples of 0x10)] 0.0000440265435496304 0.00001859670090010452 57.76% 136.74% 2.37x
to_bytes[memoryview(palindrome ascii)] 0.000043176939361874196 0.00001853288666983791 57.08% 132.97% 2.33x
to_bytes[memoryview(palindrome numeric)] 0.0000422090190347652 0.000018525217117157572 56.11% 127.85% 2.28x
to_bytes[memoryview(palindrome)] 0.000042880570182880426 0.00001859782072515742 56.63% 130.57% 2.31x
to_bytes[memoryview(repeated 0-9)] 0.00004359139588115137 0.000019141943517868763 56.09% 127.73% 2.28x
to_bytes[memoryview(single 0xff)] 0.00004359645233494508 0.000019102340073911313 56.18% 128.23% 2.28x
to_bytes[memoryview(single null byte)] 0.00004318146912051398 0.00001894411671566404 56.13% 127.94% 2.28x
to_bytes[memoryview(two patterns)] 0.00004328127292977662 0.00001875269810099425 56.67% 130.80% 2.31x
to_bytes[mixed pattern] 0.000007144843293785507 0.000003503364151670167 50.97% 103.94% 2.04x
to_bytes[multiples of 0x10] 0.000007210814305775615 0.000003482041904171216 51.71% 107.09% 2.07x
to_bytes[palindrome ascii] 0.000007245672364411523 0.0000035280986247598447 51.31% 105.37% 2.05x
to_bytes[palindrome numeric] 0.000007251562322915621 0.000003508542262795816 51.62% 106.68% 2.07x
to_bytes[palindrome] 0.000007172057095295669 0.000003287356314428415 54.16% 118.17% 2.18x
to_bytes[repeated 0-9] 0.000007128124682663821 0.0000035957669155452587 49.56% 98.24% 1.98x
to_bytes[single 0xff] 0.000007095037684040637 0.0000034687413342069045 51.11% 104.54% 2.05x
to_bytes[single null byte] 0.000007148394764834501 0.000003475958397261579 51.37% 105.65% 2.06x
to_bytes[True] 0.00002257605663943672 0.000004172074220868351 81.52% 441.12% 5.41x
to_bytes[two patterns] 0.000006812974355461329 0.000003504956415556331 48.55% 94.38% 1.94x

faster_hexbytes.main - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
hexbytes_getitem_index[-1-0-9] 0.00002655220871367566 0.000024180091880598523 8.93% 9.81% 1.10x
hexbytes_getitem_index[-1-4-byte pattern] 0.000026653266830097433 0.000024336097494370157 8.69% 9.52% 1.10x
hexbytes_getitem_index[-1-all byte values] 0.00002651798951384316 0.000024191823371647548 8.77% 9.62% 1.10x
hexbytes_getitem_index[-1-alternating 0x00/0xff] 0.000026539754927856706 0.000024186732111354327 8.87% 9.73% 1.10x
hexbytes_getitem_index[-1-alternating 0xaa/0x55] 0.000026579851945591667 0.000024393686752017313 8.22% 8.96% 1.09x
hexbytes_getitem_index[-1-ascii sentence] 0.000026616936647432724 0.00002404987622670807 9.64% 10.67% 1.11x
hexbytes_getitem_index[-1-b'\\x00'*32] 0.000026624727621272544 0.000024154553563795283 9.28% 10.23% 1.10x
hexbytes_getitem_index[-1-b'\\x00\\xff\\x00\\xff'] 0.00002676220612752422 0.000024396482270910806 8.84% 9.70% 1.10x
hexbytes_getitem_index[-1-b'\\x01'*100] 0.00002664547034633398 0.00002461153379852546 7.63% 8.26% 1.08x
hexbytes_getitem_index[-1-b'\\x01'*2048] 0.00002645329810989116 0.000024384194232414348 7.82% 8.49% 1.08x
hexbytes_getitem_index[-1-b'\\x01\\x02\\x03'] 0.000026807475498338437 0.000024560561895742786 8.38% 9.15% 1.09x
hexbytes_getitem_index[-1-b'\\x10\\x20\\x30\\x40\\x50'] 0.000026509380846841405 0.00002438708308706158 8.01% 8.70% 1.09x
hexbytes_getitem_index[-1-b'\\x7f'*8] 0.00002671327412387363 0.000024582333622068264 7.98% 8.67% 1.09x
hexbytes_getitem_index[-1-b'\\x80'*8] 0.000026819686603103398 0.00002442008818151986 8.95% 9.83% 1.10x
hexbytes_getitem_index[-1-b'\\xde\\xad\\xbe\\xef'] 0.000026511703467016488 0.00002404563522078622 9.30% 10.26% 1.10x
hexbytes_getitem_index[-1-b'\\xff'*64] 0.000026604107359231156 0.000024603576398396712 7.52% 8.13% 1.08x
hexbytes_getitem_index[-1-b'a'*1024] 0.000026672092158193638 0.000023991377412846402 10.05% 11.17% 1.11x
hexbytes_getitem_index[-1-b'abc'] 0.000026666402974183287 0.000024215107088438514 9.19% 10.12% 1.10x
hexbytes_getitem_index[-1-long alternating] 0.00002645856769877323 0.000024633375125236862 6.90% 7.41% 1.07x
hexbytes_getitem_index[-1-mixed pattern] 0.000026718684591757937 0.00002399010789009623 10.21% 11.37% 1.11x
hexbytes_getitem_index[-1-multiples of 0x10] 0.000026763902436692862 0.000024241238041379052 9.43% 10.41% 1.10x
hexbytes_getitem_index[-1-palindrome ascii] 0.000026672408194355956 0.000023841605159688695 10.61% 11.87% 1.12x
hexbytes_getitem_index[-1-palindrome numeric] 0.000026709835198258916 0.000024425680444200447 8.55% 9.35% 1.09x
hexbytes_getitem_index[-1-palindrome] 0.00002684715806709018 0.000024370866733105367 9.22% 10.16% 1.10x
hexbytes_getitem_index[-1-repeated 0-9] 0.000026487386770963136 0.000024032144997838968 9.27% 10.22% 1.10x
hexbytes_getitem_index[-1-two patterns] 0.0000267662741544036 0.0000238500104244945 10.90% 12.23% 1.12x
hexbytes_getitem_index[0-0-9] 0.00002629947383199102 0.000023266195077088496 11.53% 13.04% 1.13x
hexbytes_getitem_index[0-4-byte pattern] 0.000026250069916809305 0.000023213064629827426 11.57% 13.08% 1.13x
hexbytes_getitem_index[0-all byte values] 0.000025957842090938832 0.00002318029857043819 10.70% 11.98% 1.12x
hexbytes_getitem_index[0-alternating 0x00/0xff] 0.000026326689293164774 0.00002322219471769846 11.79% 13.37% 1.13x
hexbytes_getitem_index[0-alternating 0xaa/0x55] 0.00002627424282457903 0.000023295566746400806 11.34% 12.79% 1.13x
hexbytes_getitem_index[0-ascii sentence] 0.00002586814035759079 0.000023372037991900074 9.65% 10.68% 1.11x
hexbytes_getitem_index[0-b'\\x00'*32] 0.000026148621846685555 0.000023268795186253153 11.01% 12.38% 1.12x
hexbytes_getitem_index[0-b'\\x00\\xff\\x00\\xff'] 0.000026121455802623807 0.000022851363730238723 12.52% 14.31% 1.14x
hexbytes_getitem_index[0-b'\\x01'*100] 0.000026296098066210216 0.00002320748539682048 11.75% 13.31% 1.13x
hexbytes_getitem_index[0-b'\\x01'*2048] 0.00002608264866527697 0.00002340503940983618 10.27% 11.44% 1.11x
hexbytes_getitem_index[0-b'\\x01\\x02\\x03'] 0.000026195957808454988 0.00002347773203390434 10.38% 11.58% 1.12x
hexbytes_getitem_index[0-b'\\x10\\x20\\x30\\x40\\x50'] 0.00002618643258554361 0.000023140245977641422 11.63% 13.16% 1.13x
hexbytes_getitem_index[0-b'\\x7f'*8] 0.000026272775183916733 0.000023559522860206502 10.33% 11.52% 1.12x
hexbytes_getitem_index[0-b'\\x80'*8] 0.000026105929919247588 0.000023355337799800524 10.54% 11.78% 1.12x
hexbytes_getitem_index[0-b'\\xde\\xad\\xbe\\xef'] 0.00002612745429719554 0.000023277421950659635 10.91% 12.24% 1.12x
hexbytes_getitem_index[0-b'\\xff'*64] 0.000026261043856481453 0.00002338149178798389 10.97% 12.32% 1.12x
hexbytes_getitem_index[0-b'a'*1024] 0.000026027672757465754 0.000023121193549663338 11.17% 12.57% 1.13x
hexbytes_getitem_index[0-b'abc'] 0.000026070710159138268 0.00002325051766402612 10.82% 12.13% 1.12x
hexbytes_getitem_index[0-long alternating] 0.000026011948113150343 0.000023286102892450484 10.48% 11.71% 1.12x
hexbytes_getitem_index[0-mixed pattern] 0.000025867967052200665 0.00002319311343226876 10.34% 11.53% 1.12x
hexbytes_getitem_index[0-multiples of 0x10] 0.000026298117722235024 0.00002348009290382532 10.72% 12.00% 1.12x
hexbytes_getitem_index[0-palindrome ascii] 0.000025768697103554685 0.00002362721683689004 8.31% 9.06% 1.09x
hexbytes_getitem_index[0-palindrome numeric] 0.000025926578989750013 0.000023510300671368784 9.32% 10.28% 1.10x
hexbytes_getitem_index[0-palindrome] 0.000026106147618242886 0.000023596855534773443 9.61% 10.63% 1.11x
hexbytes_getitem_index[0-repeated 0-9] 0.000025814322457273797 0.000023267651623031693 9.87% 10.95% 1.11x
hexbytes_getitem_index[0-single 0xff] 0.000025708282492421614 0.000023408220610015255 8.95% 9.83% 1.10x
hexbytes_getitem_index[0-single null byte] 0.00002566219706713325 0.000023229119908478665 9.48% 10.47% 1.10x
hexbytes_getitem_index[0-two patterns] 0.000025685503430600503 0.000023419157911131766 8.82% 9.68% 1.10x
hexbytes_getitem_index[1-0-9] 0.00002582359742444282 0.00002336368068825991 9.53% 10.53% 1.11x
hexbytes_getitem_index[1-4-byte pattern] 0.000025681579723241258 0.00002377756657366981 7.41% 8.01% 1.08x
hexbytes_getitem_index[1-all byte values] 0.00002579596866112498 0.00002329509702003132 9.69% 10.74% 1.11x
hexbytes_getitem_index[1-alternating 0x00/0xff] 0.00002588745845070246 0.000023494548660084395 9.24% 10.18% 1.10x
hexbytes_getitem_index[1-alternating 0xaa/0x55] 0.000025658629422911134 0.000023297969836084875 9.20% 10.13% 1.10x
hexbytes_getitem_index[1-ascii sentence] 0.000025963997924172904 0.000023167479596446023 10.77% 12.07% 1.12x
hexbytes_getitem_index[1-b'\\x00'*32] 0.000025829376255266814 0.000023417104565371308 9.34% 10.30% 1.10x
hexbytes_getitem_index[1-b'\\x00\\xff\\x00\\xff'] 0.000025814208939926904 0.000023305944904082555 9.72% 10.76% 1.11x
hexbytes_getitem_index[1-b'\\x01'*100] 0.000025919987239028747 0.000023839821744375094 8.03% 8.73% 1.09x
hexbytes_getitem_index[1-b'\\x01'*2048] 0.000025977022612770433 0.00002368926161084255 8.81% 9.66% 1.10x
hexbytes_getitem_index[1-b'\\x01\\x02\\x03'] 0.000025904228534985025 0.000023430491754472867 9.55% 10.56% 1.11x
hexbytes_getitem_index[1-b'\\x10\\x20\\x30\\x40\\x50'] 0.000025951386615181373 0.000023196451304739618 10.62% 11.88% 1.12x
hexbytes_getitem_index[1-b'\\x7f'*8] 0.000025817123005757188 0.000023353633684052844 9.54% 10.55% 1.11x
hexbytes_getitem_index[1-b'\\x80'*8] 0.000025791653347835358 0.000023472532631547698 8.99% 9.88% 1.10x
hexbytes_getitem_index[1-b'\\xde\\xad\\xbe\\xef'] 0.000025971125369743943 0.000023027784349413088 11.33% 12.78% 1.13x
hexbytes_getitem_index[1-b'\\xff'*64] 0.000025920538972320827 0.00002332637245978535 10.01% 11.12% 1.11x
hexbytes_getitem_index[1-b'a'*1024] 0.000025942217857814796 0.00002337213823683013 9.91% 11.00% 1.11x
hexbytes_getitem_index[1-b'abc'] 0.000025706618286288366 0.000023051031595625954 10.33% 11.52% 1.12x
hexbytes_getitem_index[1-long alternating] 0.00002593636143901433 0.00002365821571916529 8.78% 9.63% 1.10x
hexbytes_getitem_index[1-mixed pattern] 0.0000259742126487893 0.00002329232903980145 10.33% 11.51% 1.12x
hexbytes_getitem_index[1-multiples of 0x10] 0.000025875365968164046 0.00002352974849172519 9.07% 9.97% 1.10x
hexbytes_getitem_index[1-palindrome ascii] 0.000026085592103065432 0.000023490873971987202 9.95% 11.05% 1.11x
hexbytes_getitem_index[1-palindrome numeric] 0.00002573323833675998 0.000023546864938428054 8.50% 9.29% 1.09x
hexbytes_getitem_index[1-palindrome] 0.00002597920360361169 0.00002303551420041843 11.33% 12.78% 1.13x
hexbytes_getitem_index[1-repeated 0-9] 0.00002599888221219499 0.00002311731517775592 11.08% 12.46% 1.12x
hexbytes_getitem_index[1-two patterns] 0.000025896191749791647 0.000023064200216287154 10.94% 12.28% 1.12x
hexbytes_getitem_index[2-0-9] 0.000026112521925147744 0.0000229892195510705 11.96% 13.59% 1.14x
hexbytes_getitem_index[2-4-byte pattern] 0.000026039437564118896 0.000023382390650851142 10.20% 11.36% 1.11x
hexbytes_getitem_index[2-all byte values] 0.000025957713534494364 0.000023545265799503717 9.29% 10.25% 1.10x
hexbytes_getitem_index[2-alternating 0x00/0xff] 0.000025931295172885804 0.000022942811096646978 11.52% 13.03% 1.13x
hexbytes_getitem_index[2-alternating 0xaa/0x55] 0.000026044998347539793 0.000023001858713929874 11.68% 13.23% 1.13x
hexbytes_getitem_index[2-ascii sentence] 0.000026131963960502862 0.00002353071546206498 9.95% 11.05% 1.11x
hexbytes_getitem_index[2-b'\\x00'*32] 0.000025889747135653898 0.000023384178647174966 9.68% 10.71% 1.11x
hexbytes_getitem_index[2-b'\\x00\\xff\\x00\\xff'] 0.00002572181678092186 0.00002321696824038704 9.74% 10.79% 1.11x
hexbytes_getitem_index[2-b'\\x01'*100] 0.00002585426973354385 0.000023145792605141174 10.48% 11.70% 1.12x
hexbytes_getitem_index[2-b'\\x01'*2048] 0.000026091617859146548 0.00002330797809144679 10.67% 11.94% 1.12x
hexbytes_getitem_index[2-b'\\x01\\x02\\x03'] 0.000025973131090064263 0.000023428288313905658 9.80% 10.86% 1.11x
hexbytes_getitem_index[2-b'\\x10\\x20\\x30\\x40\\x50'] 0.000025943783428784186 0.000023020233586102053 11.27% 12.70% 1.13x
hexbytes_getitem_index[2-b'\\x7f'*8] 0.00002591062647570436 0.0000233571676591062 9.85% 10.93% 1.11x
hexbytes_getitem_index[2-b'\\x80'*8] 0.000025947024620643354 0.000022948325269295288 11.56% 13.07% 1.13x
hexbytes_getitem_index[2-b'\\xde\\xad\\xbe\\xef'] 0.000025892779228072183 0.000024068579504650945 7.05% 7.58% 1.08x
hexbytes_getitem_index[2-b'\\xff'*64] 0.000026017655997824595 0.000023210012615795605 10.79% 12.10% 1.12x
hexbytes_getitem_index[2-b'a'*1024] 0.00002603986864406897 0.00002315432776943269 11.08% 12.46% 1.12x
hexbytes_getitem_index[2-b'abc'] 0.00002596990929130385 0.00002300103133036062 11.43% 12.91% 1.13x
hexbytes_getitem_index[2-long alternating] 0.000025957090993618106 0.000023096704818303602 11.02% 12.38% 1.12x
hexbytes_getitem_index[2-mixed pattern] 0.000026184732407485126 0.00002346173108305287 10.40% 11.61% 1.12x
hexbytes_getitem_index[2-multiples of 0x10] 0.00002609643223755415 0.00002320229733110875 11.09% 12.47% 1.12x
hexbytes_getitem_index[2-palindrome ascii] 0.000025946865826676247 0.00002319680822323379 10.60% 11.86% 1.12x
hexbytes_getitem_index[2-palindrome numeric] 0.00002607243833711502 0.000023303918197520868 10.62% 11.88% 1.12x
hexbytes_getitem_index[2-palindrome] 0.000025926711145555308 0.000023305303267319865 10.11% 11.25% 1.11x
hexbytes_getitem_index[2-repeated 0-9] 0.000026060059185629157 0.00002357735110091169 9.53% 10.53% 1.11x
hexbytes_getitem_index[2-two patterns] 0.000026032518722875997 0.000023410603350440977 10.07% 11.20% 1.11x
hexbytes_getitem_index[3-0-9] 0.000025651331909652956 0.00002313833710624303 9.80% 10.86% 1.11x
hexbytes_getitem_index[3-4-byte pattern] 0.000025908423060658984 0.000023163034994298605 10.60% 11.85% 1.12x
hexbytes_getitem_index[3-all byte values] 0.000025979858948138493 0.00002327347640323361 10.42% 11.63% 1.12x
hexbytes_getitem_index[3-alternating 0x00/0xff] 0.000025800386304093003 0.000023253451562229018 9.87% 10.95% 1.11x
hexbytes_getitem_index[3-alternating 0xaa/0x55] 0.000025962008244358805 0.00002333667561381928 10.11% 11.25% 1.11x
hexbytes_getitem_index[3-ascii sentence] 0.000025984015008513784 0.000023613365313352582 9.12% 10.04% 1.10x
hexbytes_getitem_index[3-b'\\x00'*32] 0.000025985843260953543 0.000023477438489710466 9.65% 10.68% 1.11x
hexbytes_getitem_index[3-b'\\x00\\xff\\x00\\xff'] 0.000025966039019672013 0.00002315044302985754 10.84% 12.16% 1.12x
hexbytes_getitem_index[3-b'\\x01'*100] 0.000025928557592193216 0.000023617600057159703 8.91% 9.78% 1.10x
hexbytes_getitem_index[3-b'\\x01'*2048] 0.000025703189050602986 0.000023803923170068993 7.39% 7.98% 1.08x
hexbytes_getitem_index[3-b'\\x10\\x20\\x30\\x40\\x50'] 0.00002582209157289895 0.000023527862566993618 8.88% 9.75% 1.10x
hexbytes_getitem_index[3-b'\\x7f'*8] 0.000025870074460750294 0.00002288990771712925 11.52% 13.02% 1.13x
hexbytes_getitem_index[3-b'\\x80'*8] 0.000025968907998490926 0.00002345806632331751 9.67% 10.70% 1.11x
hexbytes_getitem_index[3-b'\\xde\\xad\\xbe\\xef'] 0.00002580609421305239 0.000023148177785254555 10.30% 11.48% 1.11x
hexbytes_getitem_index[3-b'\\xff'*64] 0.0000259088977946342 0.00002323771587494417 10.31% 11.50% 1.11x
hexbytes_getitem_index[3-b'a'*1024] 0.000025904332441047074 0.000022854325592930528 11.77% 13.35% 1.13x
hexbytes_getitem_index[3-long alternating] 0.000025904069589714536 0.000023541760435637077 9.12% 10.03% 1.10x
hexbytes_getitem_index[3-mixed pattern] 0.0000260585005790862 0.000023303742658794573 10.57% 11.82% 1.12x
hexbytes_getitem_index[3-multiples of 0x10] 0.000025908952807074233 0.000023323032400613076 9.98% 11.09% 1.11x
hexbytes_getitem_index[3-palindrome ascii] 0.000025893527898948013 0.000023285242878496037 10.07% 11.20% 1.11x
hexbytes_getitem_index[3-palindrome numeric] 0.00002588147352674222 0.000022969591372044768 11.25% 12.68% 1.13x
hexbytes_getitem_index[3-palindrome] 0.00002593186769504059 0.00002313348647624356 10.79% 12.10% 1.12x
hexbytes_getitem_index[3-repeated 0-9] 0.000025880254102094946 0.00002360274354611296 8.80% 9.65% 1.10x
hexbytes_getitem_index[3-two patterns] 0.000025794488994784793 0.000023534213409537473 8.76% 9.60% 1.10x
hexbytes_getitem_index[4-0-9] 0.000025881900584008147 0.00002359619802636282 8.83% 9.69% 1.10x
hexbytes_getitem_index[4-4-byte pattern] 0.00002615580481214554 0.000023586749232077093 9.82% 10.89% 1.11x
hexbytes_getitem_index[4-all byte values] 0.000026083337946434882 0.00002362311345968639 9.43% 10.41% 1.10x
hexbytes_getitem_index[4-alternating 0x00/0xff] 0.000026307735658612834 0.000023329537209801694 11.32% 12.77% 1.13x
hexbytes_getitem_index[4-alternating 0xaa/0x55] 0.00002600492398966282 0.000023555505010055344 9.42% 10.40% 1.10x
hexbytes_getitem_index[4-ascii sentence] 0.000026117517778939215 0.00002329435256109569 10.81% 12.12% 1.12x
hexbytes_getitem_index[4-b'\\x00'*32] 0.000026051671575047792 0.00002325030688246233 10.75% 12.05% 1.12x
hexbytes_getitem_index[4-b'\\x01'*100] 0.000025811255582160315 0.000023139180882739823 10.35% 11.55% 1.12x
hexbytes_getitem_index[4-b'\\x01'*2048] 0.00002610819984097079 0.000023569112254225556 9.73% 10.77% 1.11x
hexbytes_getitem_index[4-b'\\x10\\x20\\x30\\x40\\x50'] 0.000026058877198216527 0.000023330130513162823 10.47% 11.70% 1.12x
hexbytes_getitem_index[4-b'\\x7f'*8] 0.000025968180904092405 0.000023568024165704494 9.24% 10.18% 1.10x
hexbytes_getitem_index[4-b'\\x80'*8] 0.00002590710454603692 0.000023231311899430282 10.33% 11.52% 1.12x
hexbytes_getitem_index[4-b'\\xff'*64] 0.00002600764354006371 0.000023362207606652383 10.17% 11.32% 1.11x
hexbytes_getitem_index[4-b'a'*1024] 0.000026011518492047984 0.000023446278063327472 9.86% 10.94% 1.11x
hexbytes_getitem_index[4-long alternating] 0.00002599317509999707 0.000023525673470404755 9.49% 10.49% 1.10x
hexbytes_getitem_index[4-mixed pattern] 0.00002607344573012829 0.00002344528435081534 10.08% 11.21% 1.11x
hexbytes_getitem_index[4-multiples of 0x10] 0.000026012198224765487 0.000023574850538462372 9.37% 10.34% 1.10x
hexbytes_getitem_index[4-palindrome ascii] 0.00002597479944937174 0.000023398500816744282 9.92% 11.01% 1.11x
hexbytes_getitem_index[4-palindrome numeric] 0.000025744455631672338 0.000023365274706032313 9.24% 10.18% 1.10x
hexbytes_getitem_index[4-palindrome] 0.000025916275936085996 0.000023523649507570718 9.23% 10.17% 1.10x
hexbytes_getitem_index[4-repeated 0-9] 0.000026062998536678265 0.0000234728744635304 9.94% 11.03% 1.11x
hexbytes_getitem_index[4-two patterns] 0.000026028630529771247 0.000023431647735514002 9.98% 11.08% 1.11x
hexbytes_getitem_index[5-0-9] 0.00002619887968028334 0.00002353487668527746 10.17% 11.32% 1.11x
hexbytes_getitem_index[5-4-byte pattern] 0.00002605620259205232 0.000023576105520704827 9.52% 10.52% 1.11x
hexbytes_getitem_index[5-all byte values] 0.00002610238434705717 0.000023541934609903748 9.81% 10.88% 1.11x
hexbytes_getitem_index[5-alternating 0x00/0xff] 0.000026193647042811276 0.000023564555851014854 10.04% 11.16% 1.11x
hexbytes_getitem_index[5-alternating 0xaa/0x55] 0.000026163671414383594 0.000023387219947790583 10.61% 11.87% 1.12x
hexbytes_getitem_index[5-ascii sentence] 0.000026029230057924077 0.00002332329186075381 10.40% 11.60% 1.12x
hexbytes_getitem_index[5-b'\\x00'*32] 0.000026016033278710882 0.0000236598709720076 9.06% 9.96% 1.10x
hexbytes_getitem_index[5-b'\\x01'*100] 0.00002615140262269877 0.000023007277887279443 12.02% 13.67% 1.14x
hexbytes_getitem_index[5-b'\\x01'*2048] 0.00002608149491393742 0.000023471472086453462 10.01% 11.12% 1.11x
hexbytes_getitem_index[5-b'\\x7f'*8] 0.000026137396307339434 0.000023012545498898727 11.96% 13.58% 1.14x
hexbytes_getitem_index[5-b'\\x80'*8] 0.000026010608172080157 0.000023294663442099033 10.44% 11.66% 1.12x
hexbytes_getitem_index[5-b'\\xff'*64] 0.000026097832090225384 0.00002339505571950595 10.36% 11.55% 1.12x
hexbytes_getitem_index[5-b'a'*1024] 0.000026081454017824943 0.00002356079853732725 9.66% 10.70% 1.11x
hexbytes_getitem_index[5-long alternating] 0.00002616904913727445 0.000023550425325959304 10.01% 11.12% 1.11x
hexbytes_getitem_index[5-mixed pattern] 0.00002591235114319758 0.000023272030358597956 10.19% 11.35% 1.11x
hexbytes_getitem_index[5-multiples of 0x10] 0.00002675156414849296 0.00002342995730275996 12.42% 14.18% 1.14x
hexbytes_getitem_index[5-palindrome ascii] 0.000026115614791690714 0.000023252163975531928 10.96% 12.31% 1.12x
hexbytes_getitem_index[5-palindrome] 0.000026102134997849337 0.000023469034217833074 10.09% 11.22% 1.11x
hexbytes_getitem_index[5-repeated 0-9] 0.000025643126563211305 0.000023677232226098852 7.67% 8.30% 1.08x
hexbytes_getitem_index[5-two patterns] 0.000025899530884779036 0.00002344620942078978 9.47% 10.46% 1.10x
hexbytes_getitem_slice[slice(-3,None)-0-9] 0.00007936041986878789 0.00005660518151888313 28.67% 40.20% 1.40x
hexbytes_getitem_slice[slice(-3,None)-4-byte pattern] 0.00007937412649652803 0.000056532882252307025 28.78% 40.40% 1.40x
hexbytes_getitem_slice[slice(-3,None)-all byte values] 0.000079362131163281 0.00005680700012038927 28.42% 39.70% 1.40x
hexbytes_getitem_slice[slice(-3,None)-alternating 0x00/0xff] 0.00007871977507174599 0.00005660533163077324 28.09% 39.07% 1.39x
hexbytes_getitem_slice[slice(-3,None)-alternating 0xaa/0x55] 0.00007957331971541807 0.000056484494652268625 29.02% 40.88% 1.41x
hexbytes_getitem_slice[slice(-3,None)-ascii sentence] 0.00008021509180523783 0.00005684498121933722 29.13% 41.11% 1.41x
hexbytes_getitem_slice[slice(-3,None)-b''] 0.00007779005726831223 0.00005369475275079578 30.97% 44.87% 1.45x
hexbytes_getitem_slice[slice(-3,None)-b'\\x00'*32] 0.00007913901568781478 0.00005750092638115839 27.34% 37.63% 1.38x
hexbytes_getitem_slice[slice(-3,None)-b'\\x00\\xff\\x00\\xff'] 0.00008010093247017045 0.000057288810264289594 28.48% 39.82% 1.40x
hexbytes_getitem_slice[slice(-3,None)-b'\\x01'*100] 0.00007928856763645549 0.000056854210602284664 28.29% 39.46% 1.39x
hexbytes_getitem_slice[slice(-3,None)-b'\\x01'*2048] 0.00007801041028012401 0.00005716185863780954 26.73% 36.47% 1.36x
hexbytes_getitem_slice[slice(-3,None)-b'\\x01\\x02\\x03'] 0.00007983718756187738 0.00005714583888319126 28.42% 39.71% 1.40x
hexbytes_getitem_slice[slice(-3,None)-b'\\x10\\x20\\x30\\x40\\x50'] 0.00007804393263817173 0.00005667895643221761 27.38% 37.69% 1.38x
hexbytes_getitem_slice[slice(-3,None)-b'\\x7f'*8] 0.0000789967334879397 0.00005660355619574133 28.35% 39.56% 1.40x
hexbytes_getitem_slice[slice(-3,None)-b'\\x80'*8] 0.00007885188139457421 0.000057152584161074105 27.52% 37.97% 1.38x
hexbytes_getitem_slice[slice(-3,None)-b'\\xde\\xad\\xbe\\xef'] 0.00007902824672892816 0.000056959142450836976 27.93% 38.75% 1.39x
hexbytes_getitem_slice[slice(-3,None)-b'\\xff'*64] 0.0000793373737196102 0.000056435179844422955 28.87% 40.58% 1.41x
hexbytes_getitem_slice[slice(-3,None)-b'a'*1024] 0.00008030283112604833 0.00005694760248586833 29.08% 41.01% 1.41x
hexbytes_getitem_slice[slice(-3,None)-b'abc'] 0.0000801712604369521 0.00005754757111500228 28.22% 39.31% 1.39x
hexbytes_getitem_slice[slice(-3,None)-long alternating] 0.00007894318637179134 0.00005661963160748353 28.28% 39.43% 1.39x
hexbytes_getitem_slice[slice(-3,None)-mixed pattern] 0.00007878550154405085 0.000057076146362060764 27.56% 38.04% 1.38x
hexbytes_getitem_slice[slice(-3,None)-multiples of 0x10] 0.00007869184469778898 0.00005718318498680853 27.33% 37.61% 1.38x
hexbytes_getitem_slice[slice(-3,None)-palindrome ascii] 0.00007970469055657454 0.00005648963885466037 29.13% 41.10% 1.41x
hexbytes_getitem_slice[slice(-3,None)-palindrome numeric] 0.00007940962473987519 0.00005667458728553294 28.63% 40.12% 1.40x
hexbytes_getitem_slice[slice(-3,None)-palindrome] 0.00007975150843687126 0.000057697335305577486 27.65% 38.22% 1.38x
hexbytes_getitem_slice[slice(-3,None)-repeated 0-9] 0.00007895979584567475 0.000056764435934568724 28.11% 39.10% 1.39x
hexbytes_getitem_slice[slice(-3,None)-single 0xff] 0.00007756273881589011 0.00005337890260155454 31.18% 45.31% 1.45x
hexbytes_getitem_slice[slice(-3,None)-single null byte] 0.00007765673445383468 0.00005411513577560868 30.31% 43.50% 1.44x
hexbytes_getitem_slice[slice(-3,None)-two patterns] 0.00007935638576180303 0.0000562117125809946 29.17% 41.17% 1.41x
hexbytes_getitem_slice[slice(0,3)-0-9] 0.00008017951078658708 0.000057347183233160624 28.48% 39.81% 1.40x
hexbytes_getitem_slice[slice(0,3)-4-byte pattern] 0.00008021327748909844 0.000057969126633491304 27.73% 38.37% 1.38x
hexbytes_getitem_slice[slice(0,3)-all byte values] 0.00008018615217958489 0.00005837624792263606 27.20% 37.36% 1.37x
hexbytes_getitem_slice[slice(0,3)-alternating 0x00/0xff] 0.00007991823726155425 0.00005766995390636623 27.84% 38.58% 1.39x
hexbytes_getitem_slice[slice(0,3)-alternating 0xaa/0x55] 0.00008066620529327663 0.000057098763182773123 29.22% 41.27% 1.41x
hexbytes_getitem_slice[slice(0,3)-ascii sentence] 0.00007939475296827046 0.00005776669083772703 27.24% 37.44% 1.37x
hexbytes_getitem_slice[slice(0,3)-b''] 0.00007812743895969526 0.00005400215074279845 30.88% 44.67% 1.45x
hexbytes_getitem_slice[slice(0,3)-b'\\x00'*32] 0.00007986890301710247 0.000056164133377847076 29.68% 42.21% 1.42x
hexbytes_getitem_slice[slice(0,3)-b'\\x00\\xff\\x00\\xff'] 0.00008037612042692188 0.000058013397104310564 27.82% 38.55% 1.39x
hexbytes_getitem_slice[slice(0,3)-b'\\x01'*100] 0.00008010729688988642 0.00005679544588444213 29.10% 41.05% 1.41x
hexbytes_getitem_slice[slice(0,3)-b'\\x01'*2048] 0.00007956400446466608 0.000057545856578708915 27.67% 38.26% 1.38x
hexbytes_getitem_slice[slice(0,3)-b'\\x01\\x02\\x03'] 0.00008103426984762718 0.000058620908211534466 27.66% 38.23% 1.38x
hexbytes_getitem_slice[slice(0,3)-b'\\x10\\x20\\x30\\x40\\x50'] 0.00008054186380741104 0.00005764666963308815 28.43% 39.72% 1.40x
hexbytes_getitem_slice[slice(0,3)-b'\\x7f'*8] 0.00008116031937034713 0.000056225282596945646 30.72% 44.35% 1.44x
hexbytes_getitem_slice[slice(0,3)-b'\\x80'*8] 0.00008026340616394638 0.00005644343137644023 29.68% 42.20% 1.42x
hexbytes_getitem_slice[slice(0,3)-b'\\xde\\xad\\xbe\\xef'] 0.00008039056333238548 0.000057501494433228454 28.47% 39.81% 1.40x
hexbytes_getitem_slice[slice(0,3)-b'\\xff'*64] 0.00007981779758854734 0.000057210454289983245 28.32% 39.52% 1.40x
hexbytes_getitem_slice[slice(0,3)-b'a'*1024] 0.00008050949205885773 0.00005662502434575145 29.67% 42.18% 1.42x
hexbytes_getitem_slice[slice(0,3)-b'abc'] 0.00007976459820149366 0.00005762071466983199 27.76% 38.43% 1.38x
hexbytes_getitem_slice[slice(0,3)-long alternating] 0.00008022335848209539 0.00005763811566443403 28.15% 39.18% 1.39x
hexbytes_getitem_slice[slice(0,3)-mixed pattern] 0.00007983952423107006 0.000057298355264097585 28.23% 39.34% 1.39x
hexbytes_getitem_slice[slice(0,3)-multiples of 0x10] 0.00008084185445101846 0.00005663298768980185 29.95% 42.75% 1.43x
hexbytes_getitem_slice[slice(0,3)-palindrome ascii] 0.00008112172528141091 0.00005703432042102399 29.69% 42.23% 1.42x
hexbytes_getitem_slice[slice(0,3)-palindrome numeric] 0.00008147856780363201 0.00005737585693646725 29.58% 42.01% 1.42x
hexbytes_getitem_slice[slice(0,3)-palindrome] 0.00008057853316924764 0.00005723773727932283 28.97% 40.78% 1.41x
hexbytes_getitem_slice[slice(0,3)-repeated 0-9] 0.00007984048165576155 0.000057640991508595154 27.80% 38.51% 1.39x
hexbytes_getitem_slice[slice(0,3)-single 0xff] 0.00007902876656138391 0.00005479761163338791 30.66% 44.22% 1.44x
hexbytes_getitem_slice[slice(0,3)-single null byte] 0.00007724658620369152 0.00005455884003655825 29.37% 41.58% 1.42x
hexbytes_getitem_slice[slice(0,3)-two patterns] 0.0000821052760907154 0.00005755983818602717 29.90% 42.64% 1.43x
hexbytes_getitem_slice[slice(1,6)-0-9] 0.00008044174621663178 0.000058443967827346365 27.35% 37.64% 1.38x
hexbytes_getitem_slice[slice(1,6)-4-byte pattern] 0.00007988911240529074 0.00005611434074394762 29.76% 42.37% 1.42x
hexbytes_getitem_slice[slice(1,6)-all byte values] 0.00007828524419091425 0.000058146930694404894 25.72% 34.63% 1.35x
hexbytes_getitem_slice[slice(1,6)-alternating 0x00/0xff] 0.00008033518017085024 0.000057809059410464275 28.04% 38.97% 1.39x
hexbytes_getitem_slice[slice(1,6)-alternating 0xaa/0x55] 0.00007953074428000302 0.00005722479406034181 28.05% 38.98% 1.39x
hexbytes_getitem_slice[slice(1,6)-ascii sentence] 0.00007966744181686636 0.00005830906970249085 26.81% 36.63% 1.37x
hexbytes_getitem_slice[slice(1,6)-b''] 0.0000782672808178202 0.00005461162845028723 30.22% 43.32% 1.43x
hexbytes_getitem_slice[slice(1,6)-b'\\x00'*32] 0.00007953226952919227 0.000058006851350982475 27.07% 37.11% 1.37x
hexbytes_getitem_slice[slice(1,6)-b'\\x00\\xff\\x00\\xff'] 0.00008010233946956903 0.00005799911160760587 27.59% 38.11% 1.38x
hexbytes_getitem_slice[slice(1,6)-b'\\x01'*100] 0.00007946991004024483 0.000057756483823610374 27.32% 37.59% 1.38x
hexbytes_getitem_slice[slice(1,6)-b'\\x01'*2048] 0.00008011616613913583 0.000057454489354048313 28.29% 39.44% 1.39x
hexbytes_getitem_slice[slice(1,6)-b'\\x01\\x02\\x03'] 0.00008010658478663936 0.00005769596025868956 27.98% 38.84% 1.39x
hexbytes_getitem_slice[slice(1,6)-b'\\x10\\x20\\x30\\x40\\x50'] 0.00008013768895021785 0.00005790083602252172 27.75% 38.41% 1.38x
hexbytes_getitem_slice[slice(1,6)-b'\\x7f'*8] 0.00008076801047127483 0.00005799740393920098 28.19% 39.26% 1.39x
hexbytes_getitem_slice[slice(1,6)-b'\\x80'*8] 0.00008003386578775014 0.00005770993493599058 27.89% 38.68% 1.39x
hexbytes_getitem_slice[slice(1,6)-b'\\xde\\xad\\xbe\\xef'] 0.00007864431460311504 0.000057432533231241404 26.97% 36.93% 1.37x
hexbytes_getitem_slice[slice(1,6)-b'\\xff'*64] 0.00007995169123251828 0.000057249342565330134 28.40% 39.66% 1.40x
hexbytes_getitem_slice[slice(1,6)-b'a'*1024] 0.0000801469799596005 0.00005839593624610602 27.14% 37.25% 1.37x
hexbytes_getitem_slice[slice(1,6)-b'abc'] 0.00008026225230978007 0.000058802013648692396 26.74% 36.50% 1.36x
hexbytes_getitem_slice[slice(1,6)-long alternating] 0.00008006505134388792 0.00005830986442745812 27.17% 37.31% 1.37x
hexbytes_getitem_slice[slice(1,6)-mixed pattern] 0.00007990456337999787 0.00005785033777796415 27.60% 38.12% 1.38x
hexbytes_getitem_slice[slice(1,6)-multiples of 0x10] 0.0000762304449475806 0.00005809653854508997 23.79% 31.21% 1.31x
hexbytes_getitem_slice[slice(1,6)-palindrome ascii] 0.00007897137016287647 0.00005824232177872835 26.25% 35.59% 1.36x
hexbytes_getitem_slice[slice(1,6)-palindrome numeric] 0.00007996991115161619 0.00005756464634817239 28.02% 38.92% 1.39x
hexbytes_getitem_slice[slice(1,6)-palindrome] 0.00007999788170913723 0.000057787851544456165 27.76% 38.43% 1.38x
hexbytes_getitem_slice[slice(1,6)-repeated 0-9] 0.00007923218821894492 0.00005810993946072355 26.66% 36.35% 1.36x
hexbytes_getitem_slice[slice(1,6)-single 0xff] 0.00007824121844433091 0.00005466381254662458 30.13% 43.13% 1.43x
hexbytes_getitem_slice[slice(1,6)-single null byte] 0.00007785242626357579 0.000054818640521806414 29.59% 42.02% 1.42x
hexbytes_getitem_slice[slice(1,6)-two patterns] 0.00008019162177379099 0.000057716962813552065 28.03% 38.94% 1.39x
hexbytes_getitem_slice[slice(2,None)-0-9] 0.00007936429177712451 0.00005723645694740817 27.88% 38.66% 1.39x
hexbytes_getitem_slice[slice(2,None)-4-byte pattern] 0.00007902240577096592 0.000056305078073762276 28.75% 40.35% 1.40x
hexbytes_getitem_slice[slice(2,None)-all byte values] 0.00007887182766451189 0.00005662469506142393 28.21% 39.29% 1.39x
hexbytes_getitem_slice[slice(2,None)-alternating 0x00/0xff] 0.00007761061317120645 0.00005598186611827245 27.87% 38.64% 1.39x
hexbytes_getitem_slice[slice(2,None)-alternating 0xaa/0x55] 0.00007778580965442631 0.0000556231954751283 28.49% 39.84% 1.40x
hexbytes_getitem_slice[slice(2,None)-ascii sentence] 0.00007857022314851692 0.000056348505580938636 28.28% 39.44% 1.39x
hexbytes_getitem_slice[slice(2,None)-b''] 0.00007754919365135645 0.00005349571965346959 31.02% 44.96% 1.45x
hexbytes_getitem_slice[slice(2,None)-b'\\x00'*32] 0.00007849029545822042 0.000057411532587930805 26.86% 36.72% 1.37x
hexbytes_getitem_slice[slice(2,None)-b'\\x00\\xff\\x00\\xff'] 0.00007920713827542563 0.000057415853484923616 27.51% 37.95% 1.38x
hexbytes_getitem_slice[slice(2,None)-b'\\x01'*100] 0.00007785678140954259 0.00005717713696900796 26.56% 36.17% 1.36x
hexbytes_getitem_slice[slice(2,None)-b'\\x01'*2048] 0.00010147797085126492 0.00007898090177445767 22.17% 28.48% 1.28x
hexbytes_getitem_slice[slice(2,None)-b'\\x01\\x02\\x03'] 0.00007643434282131347 0.00005297465685163406 30.69% 44.28% 1.44x
hexbytes_getitem_slice[slice(2,None)-b'\\x10\\x20\\x30\\x40\\x50'] 0.0000799420245362322 0.000056670002348247205 29.11% 41.07% 1.41x
hexbytes_getitem_slice[slice(2,None)-b'\\x7f'*8] 0.00007901673958473489 0.00005671555476896951 28.22% 39.32% 1.39x
hexbytes_getitem_slice[slice(2,None)-b'\\x80'*8] 0.00007995367837910926 0.00005704766262125423 28.65% 40.15% 1.40x
hexbytes_getitem_slice[slice(2,None)-b'\\xde\\xad\\xbe\\xef'] 0.00008039883541607428 0.00005717274900715931 28.89% 40.62% 1.41x
hexbytes_getitem_slice[slice(2,None)-b'\\xff'*64] 0.00007780124147080362 0.000055901776964178514 28.15% 39.17% 1.39x
hexbytes_getitem_slice[slice(2,None)-b'a'*1024] 0.00009496139312654185 0.00007302359014417095 23.10% 30.04% 1.30x
hexbytes_getitem_slice[slice(2,None)-b'abc'] 0.00007736321368853925 0.00005307953492379166 31.39% 45.75% 1.46x
hexbytes_getitem_slice[slice(2,None)-long alternating] 0.00009631787138230119 0.00007313469985553868 24.07% 31.70% 1.32x
hexbytes_getitem_slice[slice(2,None)-mixed pattern] 0.00007933714208357742 0.000056230729288806396 29.12% 41.09% 1.41x
hexbytes_getitem_slice[slice(2,None)-multiples of 0x10] 0.00007908106705828611 0.00005668898817612829 28.32% 39.50% 1.39x
hexbytes_getitem_slice[slice(2,None)-palindrome ascii] 0.00008018886531521363 0.000056797019661788655 29.17% 41.18% 1.41x
hexbytes_getitem_slice[slice(2,None)-palindrome numeric] 0.00008036348200493702 0.00005663552832527959 29.53% 41.90% 1.42x
hexbytes_getitem_slice[slice(2,None)-palindrome] 0.0000782644883177433 0.00005686065487876945 27.35% 37.64% 1.38x
hexbytes_getitem_slice[slice(2,None)-repeated 0-9] 0.00007906842895456442 0.000057327095959927127 27.50% 37.93% 1.38x
hexbytes_getitem_slice[slice(2,None)-single 0xff] 0.0000780090019223332 0.00005326011924920971 31.73% 46.47% 1.46x
hexbytes_getitem_slice[slice(2,None)-single null byte] 0.00007714166331063366 0.00005320883922541055 31.02% 44.98% 1.45x
hexbytes_getitem_slice[slice(2,None)-two patterns] 0.00007749613510026667 0.00005597204707676259 27.77% 38.46% 1.38x
hexbytes_getitem_slice[slice(None,None)-0-9] 0.00007739466029331172 0.00005604686788663363 27.58% 38.09% 1.38x
hexbytes_getitem_slice[slice(None,None)-4-byte pattern] 0.00007873083422489339 0.000056661820632145054 28.03% 38.95% 1.39x
hexbytes_getitem_slice[slice(None,None)-all byte values] 0.00007903945190163924 0.00005645791284218213 28.57% 40.00% 1.40x
hexbytes_getitem_slice[slice(None,None)-alternating 0x00/0xff] 0.00007816532945841698 0.00005669816972503425 27.46% 37.86% 1.38x
hexbytes_getitem_slice[slice(None,None)-alternating 0xaa/0x55] 0.00007792927997764256 0.00005681178949285937 27.10% 37.17% 1.37x
hexbytes_getitem_slice[slice(None,None)-ascii sentence] 0.00007591455258169037 0.000056080697361136744 26.13% 35.37% 1.35x
hexbytes_getitem_slice[slice(None,None)-b''] 0.00007637717755196347 0.0000528361465074676 30.82% 44.55% 1.45x
hexbytes_getitem_slice[slice(None,None)-b'\\x00'*32] 0.0000758465005272317 0.00005657454217365366 25.41% 34.06% 1.34x
hexbytes_getitem_slice[slice(None,None)-b'\\x00\\xff\\x00\\xff'] 0.00007773784882134477 0.00005690210672468052 26.80% 36.62% 1.37x
hexbytes_getitem_slice[slice(None,None)-b'\\x01'*100] 0.00007640860633486047 0.00005680364854020674 25.66% 34.51% 1.35x
hexbytes_getitem_slice[slice(None,None)-b'\\x01'*2048] 0.00010090465718824104 0.00007752094330089039 23.17% 30.16% 1.30x
hexbytes_getitem_slice[slice(None,None)-b'\\x01\\x02\\x03'] 0.0000775662659014891 0.00005637759096912108 27.32% 37.58% 1.38x
hexbytes_getitem_slice[slice(None,None)-b'\\x10\\x20\\x30\\x40\\x50'] 0.00007850250264065054 0.000056852515421599786 27.58% 38.08% 1.38x
hexbytes_getitem_slice[slice(None,None)-b'\\x7f'*8] 0.00007727932152412326 0.00005684218424395092 26.45% 35.95% 1.36x
hexbytes_getitem_slice[slice(None,None)-b'\\x80'*8] 0.0000758139593312247 0.000057609375911520536 24.01% 31.60% 1.32x
hexbytes_getitem_slice[slice(None,None)-b'\\xde\\xad\\xbe\\xef'] 0.00007732847309475054 0.00005697055617942006 26.33% 35.73% 1.36x
hexbytes_getitem_slice[slice(None,None)-b'\\xff'*64] 0.00007628252160784379 0.000056313512453910294 26.18% 35.46% 1.35x
hexbytes_getitem_slice[slice(None,None)-b'a'*1024] 0.00009386131805673943 0.00007161118785552145 23.71% 31.07% 1.31x
hexbytes_getitem_slice[slice(None,None)-b'abc'] 0.0000781341927787077 0.000056574310709451736 27.59% 38.11% 1.38x
hexbytes_getitem_slice[slice(None,None)-long alternating] 0.00009434101478236066 0.000070083926938276 25.71% 34.61% 1.35x
hexbytes_getitem_slice[slice(None,None)-mixed pattern] 0.00007697221075724538 0.00005639685487531288 26.73% 36.48% 1.36x
hexbytes_getitem_slice[slice(None,None)-multiples of 0x10] 0.00007593241772201725 0.000056602119278028675 25.46% 34.15% 1.34x
hexbytes_getitem_slice[slice(None,None)-palindrome ascii] 0.00007692959833456682 0.000057151595692862295 25.71% 34.61% 1.35x
hexbytes_getitem_slice[slice(None,None)-palindrome numeric] 0.00007748051993829019 0.00005689478994536701 26.57% 36.18% 1.36x
hexbytes_getitem_slice[slice(None,None)-palindrome] 0.00007734826713807551 0.0000563453983849521 27.15% 37.28% 1.37x
hexbytes_getitem_slice[slice(None,None)-repeated 0-9] 0.00008088329790482825 0.00005631228240708071 30.38% 43.63% 1.44x
hexbytes_getitem_slice[slice(None,None)-single 0xff] 0.00007555453727443358 0.00005288938741078724 30.00% 42.85% 1.43x
hexbytes_getitem_slice[slice(None,None)-single null byte] 0.00007668826289124886 0.000053362092143706004 30.42% 43.71% 1.44x
hexbytes_getitem_slice[slice(None,None)-two patterns] 0.00007631776665905084 0.000056703071611090385 25.70% 34.59% 1.35x
hexbytes_new[''] 0.00007157714108856279 0.00003497597637363091 51.14% 104.65% 2.05x
hexbytes_new['0x'] 0.00007576474055106053 0.00003540590672023412 53.27% 113.99% 2.14x
hexbytes_new['0x'+'00'*64] 0.00009103536152130975 0.000048495743752386294 46.73% 87.72% 1.88x
hexbytes_new['0x'+'a'*128] 0.00009108015420876555 0.000048231750103934444 47.04% 88.84% 1.89x
hexbytes_new['0x'+'ff'*32] 0.0000867966601224478 0.00004443467665791484 48.81% 95.34% 1.95x
hexbytes_new['0x1234'] 0.00008425202317385909 0.00004306446640261472 48.89% 95.64% 1.96x
hexbytes_new['0xabcdef'] 0.00008344795349258105 0.00004232656160518157 49.28% 97.15% 1.97x
hexbytes_new['0xCAFEBABE'] 0.00008600615141192857 0.000042704791555334804 50.35% 101.40% 2.01x
hexbytes_new['0xdeadbeef'] 0.00008602804435436303 0.00004219862363879008 50.95% 103.86% 2.04x
hexbytes_new['abc'] 0.00008320495973270104 0.000044406851475295566 46.63% 87.37% 1.87x
hexbytes_new['deadbeef'] 0.00007700465257534895 0.00003878151038810935 49.64% 98.56% 1.99x
hexbytes_new[0-9] 0.000042523436793432904 0.000024549267495741877 42.27% 73.22% 1.73x
hexbytes_new[0] 0.00012190274628578462 0.00005991886770944756 50.85% 103.45% 2.03x
hexbytes_new[123456] 0.00012746970511810776 0.00006445190573998186 49.44% 97.77% 1.98x
hexbytes_new[2**16] 0.00012451533679459987 0.00006318997622367408 49.25% 97.05% 1.97x
hexbytes_new[2**256-1] 0.00012916280158388927 0.00006768844983973619 47.59% 90.82% 1.91x
hexbytes_new[2**32] 0.0001275641135003463 0.00006619837196483897 48.11% 92.70% 1.93x
hexbytes_new[2**64] 0.00012685715559036725 0.00006816854823897599 46.26% 86.09% 1.86x
hexbytes_new[2**8] 0.00012367937413848817 0.00006355691671132226 48.61% 94.60% 1.95x
hexbytes_new[4-byte pattern] 0.00004318012464278002 0.000025461204923343406 41.03% 69.59% 1.70x
hexbytes_new[all byte values] 0.00004310573974529285 0.000025230114224108566 41.47% 70.85% 1.71x
hexbytes_new[alternating 0x00/0xff] 0.00004247241654499785 0.00002492182445679942 41.32% 70.42% 1.70x
hexbytes_new[alternating 0xaa/0x55] 0.000043140832823474094 0.000024665434611211462 42.83% 74.90% 1.75x
hexbytes_new[ascii sentence] 0.000042211517056286424 0.00002470785568193185 41.47% 70.84% 1.71x
hexbytes_new[b''] 0.000042261642876470897 0.00002464685761374435 41.68% 71.47% 1.71x
hexbytes_new[b'\\x00'*32] 0.00004208213324610541 0.000024707622286894525 41.29% 70.32% 1.70x
hexbytes_new[b'\\x00\\xff\\x00\\xff'] 0.00004298956012598231 0.000024584297470187867 42.81% 74.87% 1.75x
hexbytes_new[b'\\x01'*100] 0.00004263962075226885 0.000024468670874149267 42.62% 74.26% 1.74x
hexbytes_new[b'\\x01'*2048] 0.00005641271610065451 0.00003693335462093858 34.53% 52.74% 1.53x
hexbytes_new[b'\\x01\\x02\\x03'] 0.000042492153333215115 0.000024504983870470586 42.33% 73.40% 1.73x
hexbytes_new[b'\\x10\\x20\\x30\\x40\\x50'] 0.000042783604924984636 0.000024653619390727628 42.38% 73.54% 1.74x
hexbytes_new[b'\\x7f'*8] 0.000042288357786996074 0.00002452884225443639 42.00% 72.40% 1.72x
hexbytes_new[b'\\x80'*8] 0.00004211663736028092 0.000024644492991640607 41.49% 70.90% 1.71x
hexbytes_new[b'\\xde\\xad\\xbe\\xef'] 0.000042727886908150626 0.000024569175966154874 42.50% 73.91% 1.74x
hexbytes_new[b'\\xff'*64] 0.00004277773433744203 0.000024706267065651895 42.25% 73.15% 1.73x
hexbytes_new[b'a'*1024] 0.00005388137675679617 0.00003203875621670372 40.54% 68.18% 1.68x
hexbytes_new[b'abc'] 0.000042366930505944155 0.00002459233846936941 41.95% 72.28% 1.72x
hexbytes_new[bytearray(0-9)] 0.00006647235994753481 0.0000352383629704028 46.99% 88.64% 1.89x
hexbytes_new[bytearray(4-byte pattern)] 0.0000682893692253176 0.000036503277099633826 46.55% 87.08% 1.87x
hexbytes_new[bytearray(all byte values)] 0.0000690068072589548 0.00003694473350363042 46.46% 86.78% 1.87x
hexbytes_new[bytearray(alternating 0x00/0xff)] 0.00006778417802287723 0.00003538008399334943 47.80% 91.59% 1.92x
hexbytes_new[bytearray(alternating 0xaa/0x55)] 0.0000677881476717706 0.00003545732107431593 47.69% 91.18% 1.91x
hexbytes_new[bytearray(ascii sentence)] 0.00006680667785588554 0.00003717597194498428 44.35% 79.70% 1.80x
hexbytes_new[bytearray(b'')] 0.00006603380478623498 0.00003398983744601647 48.53% 94.28% 1.94x
hexbytes_new[bytearray(b'\\x00'*32)] 0.00006742966601470078 0.000035276913559342574 47.68% 91.14% 1.91x
hexbytes_new[bytearray(b'\\x00\\xff\\x00\\xff')] 0.0000675277549113417 0.00003588301454220919 46.86% 88.19% 1.88x
hexbytes_new[bytearray(b'\\x01'*100)] 0.00006664952715165598 0.000035794735641247276 46.29% 86.20% 1.86x
hexbytes_new[bytearray(b'\\x01'*2048)] 0.00008994317177367044 0.00005637531169230458 37.32% 59.54% 1.60x
hexbytes_new[bytearray(b'\\x01\\x02\\x03')] 0.00006814852031238934 0.00003680533249151892 45.99% 85.16% 1.85x
hexbytes_new[bytearray(b'\\x10\\x20\\x30\\x40\\x50')] 0.00006673005150928335 0.000035275655302956514 47.14% 89.17% 1.89x
hexbytes_new[bytearray(b'\\x7f'*8)] 0.00006829702548338029 0.00003599164202026701 47.30% 89.76% 1.90x
hexbytes_new[bytearray(b'\\x80'*8)] 0.0000674820117592969 0.00003611474654440401 46.48% 86.85% 1.87x
hexbytes_new[bytearray(b'\\xde\\xad\\xbe\\xef')] 0.00006768296635836265 0.000035865814906321936 47.01% 88.71% 1.89x
hexbytes_new[bytearray(b'\\xff'*64)] 0.00006848652086434671 0.000035920013484855046 47.55% 90.66% 1.91x
hexbytes_new[bytearray(b'a'*1024)] 0.00008688083163831581 0.000048933172182339533 43.68% 77.55% 1.78x
hexbytes_new[bytearray(b'abc')] 0.00006709846110118951 0.00003635712191099872 45.82% 84.55% 1.85x
hexbytes_new[bytearray(long alternating)] 0.00008355496235113562 0.00004904737083475427 41.30% 70.36% 1.70x
hexbytes_new[bytearray(mixed pattern)] 0.00006757206067519682 0.000035732385536074334 47.12% 89.11% 1.89x
hexbytes_new[bytearray(multiples of 0x10)] 0.00006766490332798233 0.000035533720950186866 47.49% 90.42% 1.90x
hexbytes_new[bytearray(palindrome ascii)] 0.00006710813275624223 0.000035586448627494455 46.97% 88.58% 1.89x
hexbytes_new[bytearray(palindrome numeric)] 0.00006762970140333415 0.000036353839734246334 46.25% 86.03% 1.86x
hexbytes_new[bytearray(palindrome)] 0.0000677687459907593 0.0000350773064588312 48.24% 93.20% 1.93x
hexbytes_new[bytearray(repeated 0-9)] 0.00006815819909180663 0.00003572492026665752 47.59% 90.79% 1.91x
hexbytes_new[bytearray(single 0xff)] 0.00006869435555255542 0.00003650919998383838 46.85% 88.16% 1.88x
hexbytes_new[bytearray(single null byte)] 0.00006800674652055357 0.00003621286363094583 46.75% 87.80% 1.88x
hexbytes_new[bytearray(two patterns)] 0.00006806183110823079 0.000036084978242321155 46.98% 88.62% 1.89x
hexbytes_new[False] 0.00006021587821884142 0.00002557654722740982 57.53% 135.43% 2.35x
hexbytes_new[long alternating] 0.000054107001822371974 0.00003235990649567608 40.19% 67.20% 1.67x
hexbytes_new[memoryview(0-9)] 0.00008127815126097094 0.000040928756190449395 49.64% 98.58% 1.99x
hexbytes_new[memoryview(4-byte pattern)] 0.0000829995731992849 0.00004178336243047219 49.66% 98.64% 1.99x
hexbytes_new[memoryview(all byte values)] 0.00008329403173501142 0.00004259110541199537 48.87% 95.57% 1.96x
hexbytes_new[memoryview(alternating 0x00/0xff)] 0.00008061649867805579 0.000040616305170856764 49.62% 98.48% 1.98x
hexbytes_new[memoryview(alternating 0xaa/0x55)] 0.00008272448132741707 0.00004121903772656849 50.17% 100.69% 2.01x
hexbytes_new[memoryview(ascii sentence)] 0.00008204856373068705 0.00004312840560837311 47.44% 90.24% 1.90x
hexbytes_new[memoryview(b'')] 0.00007968646972931077 0.00003907682435131076 50.96% 103.92% 2.04x
hexbytes_new[memoryview(b'\\x00'*32)] 0.00008182453897273667 0.000042729172780074174 47.78% 91.50% 1.91x
hexbytes_new[memoryview(b'\\x00\\xff\\x00\\xff')] 0.00008163125857214939 0.00004086258742806091 49.94% 99.77% 2.00x
hexbytes_new[memoryview(b'\\x01'*100)] 0.00008229670005101202 0.00004240319889858148 48.48% 94.08% 1.94x
hexbytes_new[memoryview(b'\\x01'*2048)] 0.00010406347968719645 0.00006247468711621597 39.96% 66.57% 1.67x
hexbytes_new[memoryview(b'\\x01\\x02\\x03')] 0.00008216330040579152 0.00004120293361772747 49.85% 99.41% 1.99x
hexbytes_new[memoryview(b'\\x10\\x20\\x30\\x40\\x50')] 0.00008118980161689832 0.00004088349472414401 49.64% 98.59% 1.99x
hexbytes_new[memoryview(b'\\x7f'*8)] 0.00008177220762086046 0.00004122981768544153 49.58% 98.33% 1.98x
hexbytes_new[memoryview(b'\\x80'*8)] 0.00008070328103899423 0.00004100646302153104 49.19% 96.81% 1.97x
hexbytes_new[memoryview(b'\\xde\\xad\\xbe\\xef')] 0.00008198456766153912 0.00004118289564537107 49.77% 99.07% 1.99x
hexbytes_new[memoryview(b'\\xff'*64)] 0.00008219168610073902 0.00004141743940600516 49.61% 98.45% 1.98x
hexbytes_new[memoryview(b'a'*1024)] 0.00009743929571184206 0.00005446252562066486 44.11% 78.91% 1.79x
hexbytes_new[memoryview(b'abc')] 0.00008244553218414945 0.00004109072123571575 50.16% 100.64% 2.01x
hexbytes_new[memoryview(long alternating)] 0.00009570269238407678 0.000054490624389869616 43.06% 75.63% 1.76x
hexbytes_new[memoryview(mixed pattern)] 0.00008057128965135215 0.000040959248074885834 49.16% 96.71% 1.97x
hexbytes_new[memoryview(multiples of 0x10)] 0.00008162120121454933 0.00004084869316036578 49.95% 99.81% 2.00x
hexbytes_new[memoryview(palindrome ascii)] 0.00008107951896650717 0.000040867276872338147 49.60% 98.40% 1.98x
hexbytes_new[memoryview(palindrome numeric)] 0.000082191635652576 0.00004088356715421593 50.26% 101.04% 2.01x
hexbytes_new[memoryview(palindrome)] 0.00008131529443423352 0.00004072582513406846 49.92% 99.67% 2.00x
hexbytes_new[memoryview(repeated 0-9)] 0.00008189394507496308 0.000042372961447950476 48.26% 93.27% 1.93x
hexbytes_new[memoryview(single 0xff)] 0.00008124430329910582 0.00004181837992896049 48.53% 94.28% 1.94x
hexbytes_new[memoryview(single null byte)] 0.00008266188684677352 0.00004187176625060481 49.35% 97.42% 1.97x
hexbytes_new[memoryview(two patterns)] 0.00008217535559698611 0.00004139594060987753 49.62% 98.51% 1.99x
hexbytes_new[mixed pattern] 0.00004249223324361654 0.00002450139936934388 42.34% 73.43% 1.73x
hexbytes_new[multiples of 0x10] 0.00004280503794556814 0.000024469680637063958 42.83% 74.93% 1.75x
hexbytes_new[palindrome ascii] 0.00004202500483897494 0.000024499886617322925 41.70% 71.53% 1.72x
hexbytes_new[palindrome numeric] 0.00004307554578235126 0.000024428744754540787 43.29% 76.33% 1.76x
hexbytes_new[palindrome] 0.00004232792446418028 0.00002452860755994617 42.05% 72.57% 1.73x
hexbytes_new[repeated 0-9] 0.00004231879543830797 0.000024689679857817297 41.66% 71.40% 1.71x
hexbytes_new[single 0xff] 0.000041204148498484926 0.0000246355776769492 40.21% 67.25% 1.67x
hexbytes_new[single null byte] 0.00004325872130930594 0.00002470501536179896 42.89% 75.10% 1.75x
hexbytes_new[True] 0.00006008467991517411 0.00002561186352862131 57.37% 134.60% 2.35x
hexbytes_new[two patterns] 0.000042576673973076364 0.00002527186121483301 40.64% 68.47% 1.68x
hexbytes_repr[0-9] 0.00003244376993744568 0.0000162695633259699 49.85% 99.41% 1.99x
hexbytes_repr[4-byte pattern] 0.00012551426177646684 0.00004194755166440162 66.58% 199.22% 2.99x
hexbytes_repr[all byte values] 0.00012536104925194038 0.00004192848117497215 66.55% 198.99% 2.99x
hexbytes_repr[alternating 0x00/0xff] 0.000053066178494857935 0.000021211976395871043 60.03% 150.17% 2.50x
hexbytes_repr[alternating 0xaa/0x55] 0.00005130750914605153 0.000021212734355166753 58.66% 141.87% 2.42x
hexbytes_repr[ascii sentence] 0.00004306837810140114 0.000019397122791122465 54.96% 122.03% 2.22x
hexbytes_repr[b''] 0.000023443529457371712 0.000013503196516182534 42.40% 73.61% 1.74x
hexbytes_repr[b'\\x00'*32] 0.000039365967078147434 0.00001812620796304044 53.95% 117.18% 2.17x
hexbytes_repr[b'\\x00\\xff\\x00\\xff'] 0.000029854570802095574 0.000015158223997201416 49.23% 96.95% 1.97x
hexbytes_repr[b'\\x01'*100] 0.00006379851550191474 0.000024527639112271045 61.55% 160.11% 2.60x
hexbytes_repr[b'\\x01'*2048] 0.0007756183647775331 0.00022925092123267607 70.44% 238.33% 3.38x
hexbytes_repr[b'\\x01\\x02\\x03'] 0.000029421602137029255 0.000015138109273775817 48.55% 94.35% 1.94x
hexbytes_repr[b'\\x10\\x20\\x30\\x40\\x50'] 0.00003009286111247117 0.000015252177973639514 49.32% 97.30% 1.97x
hexbytes_repr[b'\\x7f'*8] 0.00003217703150565003 0.000015996352348192978 50.29% 101.15% 2.01x
hexbytes_repr[b'\\x80'*8] 0.00003202002162618462 0.000016089626257930115 49.75% 99.01% 1.99x
hexbytes_repr[b'\\xde\\xad\\xbe\\xef'] 0.000029959687822787464 0.000015200790684140501 49.26% 97.09% 1.97x
hexbytes_repr[b'\\xff'*64] 0.00005116400824218444 0.000021309701258231106 58.35% 140.10% 2.40x
hexbytes_repr[b'a'*1024] 0.00040990629019685166 0.00012232337707731894 70.16% 235.10% 3.35x
hexbytes_repr[b'abc'] 0.0000294640024565062 0.000015128841092446611 48.65% 94.75% 1.95x
hexbytes_repr[long alternating] 0.000409473703581412 0.00012524678118901658 69.41% 226.93% 3.27x
hexbytes_repr[mixed pattern] 0.00010160357334218496 0.00003537998593408382 65.18% 187.18% 2.87x
hexbytes_repr[multiples of 0x10] 0.00003244264702281271 0.00001616637388913929 50.17% 100.68% 2.01x
hexbytes_repr[palindrome ascii] 0.000031109673133412986 0.000015643256506914886 49.72% 98.87% 1.99x
hexbytes_repr[palindrome numeric] 0.000030093661962004273 0.00001524116791098058 49.35% 97.45% 1.97x
hexbytes_repr[palindrome] 0.00003530103259610912 0.00001684189305814113 52.29% 109.60% 2.10x
hexbytes_repr[repeated 0-9] 0.00006385178699838464 0.00002451174251496036 61.61% 160.49% 2.60x
hexbytes_repr[single 0xff] 0.000029015900630006363 0.000014961981334546979 48.44% 93.93% 1.94x
hexbytes_repr[single null byte] 0.000029135972582154046 0.000014977696402095598 48.59% 94.53% 1.95x
hexbytes_repr[two patterns] 0.00005139778736635247 0.00002123516030840887 58.68% 142.04% 2.42x
hexbytes_to_0x_hex[0-9] 0.00001674881190387517 0.00001602981701011725 4.29% 4.49% 1.04x
hexbytes_to_0x_hex[4-byte pattern] 0.00004462201604009362 0.000041583882052189296 6.81% 7.31% 1.07x
hexbytes_to_0x_hex[all byte values] 0.00004452213198213366 0.00004166453737109988 6.42% 6.86% 1.07x
hexbytes_to_0x_hex[alternating 0x00/0xff] 0.000022110188196189477 0.00002120839042133912 4.08% 4.25% 1.04x
hexbytes_to_0x_hex[alternating 0xaa/0x55] 0.000021986168819238932 0.000021300865692462122 3.12% 3.22% 1.03x
hexbytes_to_0x_hex[ascii sentence] 0.000020692321562310228 0.00001937460762008489 6.37% 6.80% 1.07x
hexbytes_to_0x_hex[b''] 0.000010855627809630051 0.000012272534076216166 -13.05% -11.55% 0.88x
hexbytes_to_0x_hex[b'\\x00'*32] 0.00001871588413974094 0.00001816307743572005 2.95% 3.04% 1.03x
hexbytes_to_0x_hex[b'\\x00\\xff\\x00\\xff'] 0.00001615166992405529 0.000015305666506588524 5.24% 5.53% 1.06x
hexbytes_to_0x_hex[b'\\x01'*100] 0.00002599988254105644 0.000024709206038055673 4.96% 5.22% 1.05x
hexbytes_to_0x_hex[b'\\x01'*2048] 0.00022779573217193512 0.0002266606433045096 0.50% 0.50% 1.01x
hexbytes_to_0x_hex[b'\\x01\\x02\\x03'] 0.000016088300405881186 0.000015311239816566077 4.83% 5.08% 1.05x
hexbytes_to_0x_hex[b'\\x10\\x20\\x30\\x40\\x50'] 0.000016125643532420006 0.000015403481495856374 4.48% 4.69% 1.05x
hexbytes_to_0x_hex[b'\\x7f'*8] 0.000016785987913206853 0.000016029437222156444 4.51% 4.72% 1.05x
hexbytes_to_0x_hex[b'\\x80'*8] 0.000016592794448102335 0.00001605219483337049 3.26% 3.37% 1.03x
hexbytes_to_0x_hex[b'\\xde\\xad\\xbe\\xef'] 0.000016126898099813676 0.000015239919732631468 5.50% 5.82% 1.06x
hexbytes_to_0x_hex[b'\\xff'*64] 0.000022073926300753034 0.000021321536955895035 3.41% 3.53% 1.04x
hexbytes_to_0x_hex[b'a'*1024] 0.00012621692713667756 0.0001228174142390463 2.69% 2.77% 1.03x
hexbytes_to_0x_hex[b'abc'] 0.000016065017506270874 0.000015331405466033537 4.57% 4.79% 1.05x
hexbytes_to_0x_hex[long alternating] 0.00012662006322694335 0.00012240455035093066 3.33% 3.44% 1.03x
hexbytes_to_0x_hex[mixed pattern] 0.000037118913257935814 0.000035487577924533215 4.39% 4.60% 1.05x
hexbytes_to_0x_hex[multiples of 0x10] 0.000016813752850829993 0.00001605084332212247 4.54% 4.75% 1.05x
hexbytes_to_0x_hex[palindrome ascii] 0.000016404984025426092 0.000015753792607051193 3.97% 4.13% 1.04x
hexbytes_to_0x_hex[palindrome numeric] 0.000016210525799768382 0.000015333376898880426 5.41% 5.72% 1.06x
hexbytes_to_0x_hex[palindrome] 0.000017769676313322445 0.00001707361533734092 3.92% 4.08% 1.04x
hexbytes_to_0x_hex[repeated 0-9] 0.000026077176696438007 0.00002482867655871568 4.79% 5.03% 1.05x
hexbytes_to_0x_hex[single 0xff] 0.000015712932640012126 0.00001519779539029674 3.28% 3.39% 1.03x
hexbytes_to_0x_hex[single null byte] 0.00001576801107864461 0.000015055409948753701 4.52% 4.73% 1.05x
hexbytes_to_0x_hex[two patterns] 0.000022121171624028727 0.000021310316090233988 3.67% 3.80% 1.04x

@renovate
Copy link
Author

renovate bot commented Nov 28, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@BobTheBuidler BobTheBuidler merged commit 870ff99 into master Nov 29, 2025
2 of 123 checks passed
@BobTheBuidler BobTheBuidler deleted the renovate/mypy-1.x branch November 29, 2025 07:54
@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.00001988123583900091 0.000011004033640358038 44.65% 80.67% 1.81x
hexstr_to_bytes['0x'] 0.000022444212901976767 0.000010935179067763216 51.28% 105.25% 2.05x
hexstr_to_bytes['0x'+'0'*128] 0.000036603179828329075 0.00002508816413929719 31.46% 45.90% 1.46x
hexstr_to_bytes['0x'+'00'*64] 0.00003632953816012084 0.00002520037801381461 30.63% 44.16% 1.44x
hexstr_to_bytes['0x'+'00ff'*16] 0.00003279379802479188 0.00002164160258479296 34.01% 51.53% 1.52x
hexstr_to_bytes['0x'+'0123456789abcdef'*8] 0.000035921086114943576 0.000025527236074405136 28.94% 40.72% 1.41x
hexstr_to_bytes['0x'+'1'*64] 0.00003392955352581454 0.000021682766882443944 36.09% 56.48% 1.56x
hexstr_to_bytes['0x'+'1234567890abcdef'*8] 0.00003703859362552395 0.000025116816257136235 32.19% 47.47% 1.47x
hexstr_to_bytes['0x'+'a'*128] 0.00003649252934707933 0.000025907198855486745 29.01% 40.86% 1.41x
hexstr_to_bytes['0x'+'a1b2c3d4'*8] 0.000033099568273180726 0.00002256702597896238 31.82% 46.67% 1.47x
hexstr_to_bytes['0x'+'b'*2048] 0.00014463653044484182 0.0001288148340427505 10.94% 12.28% 1.12x
hexstr_to_bytes['0x'+'badc0ffee0ddf00d'*4] 0.00003315955056578026 0.00002174659885300324 34.42% 52.48% 1.52x
hexstr_to_bytes['0x'+'beef'*16] 0.00003367070596161649 0.00002171191489060574 35.52% 55.08% 1.55x
hexstr_to_bytes['0x'+'c'*1024] 0.00009175556237647754 0.0000780369385723654 14.95% 17.58% 1.18x
hexstr_to_bytes['0x'+'cafebabe'*8] 0.00003259412581091879 0.000021843429720998237 32.98% 49.22% 1.49x
hexstr_to_bytes['0x'+'d'*512] 0.00005994324727033899 0.00004564105688467615 23.86% 31.34% 1.31x
hexstr_to_bytes['0x'+'dead'*16] 0.00003298768066228528 0.00002172740646135932 34.13% 51.83% 1.52x
hexstr_to_bytes['0x'+'e'*256] 0.00004554796293249427 0.00003257964511323882 28.47% 39.80% 1.40x
hexstr_to_bytes['0x'+'f'*128] 0.00003697927841378233 0.00002532780937533606 31.51% 46.00% 1.46x
hexstr_to_bytes['0x'+'f'*64] 0.00003345213668015296 0.000021597796720407672 35.44% 54.89% 1.55x
hexstr_to_bytes['0x'+'facefeed'*8] 0.00003353396407836365 0.000021734432906055454 35.19% 54.29% 1.54x
hexstr_to_bytes['0x'+'ff'*32] 0.00003365762026272605 0.00002170361193867999 35.52% 55.08% 1.55x
hexstr_to_bytes['0x'+'ff00'*16] 0.00003303731188252102 0.000021636005269857742 34.51% 52.70% 1.53x
hexstr_to_bytes['0x0'] 0.00003349707187772252 0.000021739117054264644 35.10% 54.09% 1.54x
hexstr_to_bytes['0x1'] 0.00003382605128308048 0.000021740861680928902 35.73% 55.59% 1.56x
hexstr_to_bytes['0x1234'] 0.000031219000107372214 0.000019298823300619063 38.18% 61.77% 1.62x
hexstr_to_bytes['0xabcdef'] 0.0000304905253013849 0.000019703380161524416 35.38% 54.75% 1.55x
hexstr_to_bytes['0xCAFEBABE'] 0.00003087509721000812 0.000019453421237737835 36.99% 58.71% 1.59x
hexstr_to_bytes['0xdeadbeef'] 0.00003051991820992315 0.0000193774846431492 36.51% 57.50% 1.58x
hexstr_to_bytes['deadbeef'] 0.0000260199885125399 0.000015869081657926457 39.01% 63.97% 1.64x
to_bytes[''] 0.000030365872934896332 0.00001187258420817503 60.90% 155.76% 2.56x
to_bytes['0x'] 0.00003389573469073631 0.000011756523870563175 65.32% 188.31% 2.88x
to_bytes['0x'+'00'*64] 0.00005029485738972202 0.000025842399750619956 48.62% 94.62% 1.95x
to_bytes['0x'+'a'*128] 0.00004991917309938909 0.000025683540243377162 48.55% 94.36% 1.94x
to_bytes['0x'+'ff'*32] 0.000047199026134158626 0.000022865143784439255 51.56% 106.42% 2.06x
to_bytes['0x1234'] 0.000043287124666369026 0.000019593290073148 54.74% 120.93% 2.21x
to_bytes['0xabcdef'] 0.00004379811484801384 0.00002004504996900305 54.23% 118.50% 2.18x
to_bytes['0xCAFEBABE'] 0.000041472691415947085 0.000019934473167982866 51.93% 108.05% 2.08x
to_bytes['0xdeadbeef'] 0.000042543626778558704 0.00001979729447882968 53.47% 114.90% 2.15x
to_bytes['abc'] 0.00004320334072836183 0.000021281454864953464 50.74% 103.01% 2.03x
to_bytes['deadbeef'] 0.00003815991021167668 0.00001617616097089179 57.61% 135.90% 2.36x
to_bytes[0-9] 0.000007196772069622246 0.0000037392340874398056 48.04% 92.47% 1.92x
to_bytes[0] 0.00008076606235639317 0.000033814790531793976 58.13% 138.85% 2.39x
to_bytes[123456] 0.00008253268809305716 0.00003794985211467475 54.02% 117.48% 2.17x
to_bytes[2**16] 0.00008078314589117521 0.00003788035629737298 53.11% 113.26% 2.13x
to_bytes[2**256-1] 0.0000851662877710893 0.00004457526722861615 47.66% 91.06% 1.91x
to_bytes[2**32] 0.00008330834696761756 0.00004025758395539442 51.68% 106.94% 2.07x
to_bytes[2**64] 0.0000845271201072873 0.00004166713441016147 50.71% 102.86% 2.03x
to_bytes[2**8] 0.00008302050147246207 0.00003718730739175292 55.21% 123.25% 2.23x
to_bytes[4-byte pattern] 0.000007211504660627591 0.0000037325903669431806 48.24% 93.20% 1.93x
to_bytes[all byte values] 0.000007192990435865824 0.000003738645675747141 48.02% 92.40% 1.92x
to_bytes[alternating 0x00/0xff] 0.000007113514838099249 0.000003751635119387326 47.26% 89.61% 1.90x
to_bytes[alternating 0xaa/0x55] 0.0000071650610020403815 0.0000037437309091982333 47.75% 91.39% 1.91x
to_bytes[ascii sentence] 0.000007150790819834806 0.0000037234116979900805 47.93% 92.05% 1.92x
to_bytes[b''] 0.0000071764803483798774 0.000003640266928202981 49.28% 97.14% 1.97x
to_bytes[b'\\x00'*32] 0.0000072453474251438206 0.0000037389870383297 48.39% 93.78% 1.94x
to_bytes[b'\\x00\\xff\\x00\\xff'] 0.000007288960111365726 0.0000037739578793541644 48.22% 93.14% 1.93x
to_bytes[b'\\x01'*100] 0.000007172728761334475 0.0000037389967425477355 47.87% 91.84% 1.92x
to_bytes[b'\\x01'*2048] 0.000007147719869645701 0.000003760668252613923 47.39% 90.07% 1.90x
to_bytes[b'\\x01\\x02\\x03'] 0.000007253030887292041 0.0000037419305639530833 48.41% 93.83% 1.94x
to_bytes[b'\\x10\\x20\\x30\\x40\\x50'] 0.000007071636515526278 0.000003761256569571905 46.81% 88.01% 1.88x
to_bytes[b'\\x7f'*8] 0.0000071135231109631586 0.0000037506042384265498 47.28% 89.66% 1.90x
to_bytes[b'\\x80'*8] 0.0000070546904124012445 0.0000037408239770947854 46.97% 88.59% 1.89x
to_bytes[b'\\xde\\xad\\xbe\\xef'] 0.000007283906867265293 0.0000037505394510843073 48.51% 94.21% 1.94x
to_bytes[b'\\xff'*64] 0.000007164507463733297 0.000003734859838739684 47.87% 91.83% 1.92x
to_bytes[b'a'*1024] 0.000007055626656407162 0.0000037735385177149367 46.52% 86.98% 1.87x
to_bytes[b'abc'] 0.000006870947585856728 0.0000037320302316212174 45.68% 84.11% 1.84x
to_bytes[bytearray(0-9)] 0.000030483252483461167 0.000013894194565542101 54.42% 119.40% 2.19x
to_bytes[bytearray(4-byte pattern)] 0.000030964325352135414 0.000014675544241028018 52.60% 110.99% 2.11x
to_bytes[bytearray(all byte values)] 0.0000305867472387041 0.000013887881438243101 54.60% 120.24% 2.20x
to_bytes[bytearray(alternating 0x00/0xff)] 0.00003071233489786401 0.000013825019121669413 54.99% 122.15% 2.22x
to_bytes[bytearray(alternating 0xaa/0x55)] 0.000030326811035706477 0.00001386212347834736 54.29% 118.77% 2.19x
to_bytes[bytearray(ascii sentence)] 0.000030113250572494 0.00001396337135429858 53.63% 115.66% 2.16x
to_bytes[bytearray(b'')] 0.000026787083723279987 0.000011631945663868165 56.58% 130.29% 2.30x
to_bytes[bytearray(b'\\x00'*32)] 0.00003057186676893473 0.000013897265208565073 54.54% 119.98% 2.20x
to_bytes[bytearray(b'\\x00\\xff\\x00\\xff')] 0.000029871966062560188 0.000013927755435199409 53.38% 114.48% 2.14x
to_bytes[bytearray(b'\\x01'*100)] 0.000031261437904042906 0.000013976047077659899 55.29% 123.68% 2.24x
to_bytes[bytearray(b'\\x01'*2048)] 0.00003805778951684992 0.00002106798207716731 44.64% 80.64% 1.81x
to_bytes[bytearray(b'\\x01\\x02\\x03')] 0.000030074632365230337 0.000013988276240454313 53.49% 115.00% 2.15x
to_bytes[bytearray(b'\\x10\\x20\\x30\\x40\\x50')] 0.000030287194143303247 0.000013932761089023994 54.00% 117.38% 2.17x
to_bytes[bytearray(b'\\x7f'*8)] 0.000030314386477234745 0.000013971841026870022 53.91% 116.97% 2.17x
to_bytes[bytearray(b'\\x80'*8)] 0.00003066212044742939 0.000014043634438203864 54.20% 118.33% 2.18x
to_bytes[bytearray(b'\\xde\\xad\\xbe\\xef')] 0.00003004163816270856 0.00001389640701039286 53.74% 116.18% 2.16x
to_bytes[bytearray(b'\\xff'*64)] 0.00003002477821394552 0.000013882817025657484 53.76% 116.27% 2.16x
to_bytes[bytearray(b'a'*1024)] 0.000033859851172896104 0.00002026469995566325 40.15% 67.09% 1.67x
to_bytes[bytearray(b'abc')] 0.00002941026576339055 0.000013965530728536349 52.51% 110.59% 2.11x
to_bytes[bytearray(long alternating)] 0.00003465260038184476 0.000019967900420083245 42.38% 73.54% 1.74x
to_bytes[bytearray(mixed pattern)] 0.000030950769177227655 0.000013973817089029605 54.85% 121.49% 2.21x
to_bytes[bytearray(multiples of 0x10)] 0.00003064675626531058 0.00001393321165978935 54.54% 119.95% 2.20x
to_bytes[bytearray(palindrome ascii)] 0.00002988255734648342 0.000013885945201144613 53.53% 115.20% 2.15x
to_bytes[bytearray(palindrome numeric)] 0.000030217562934641443 0.000013838209795477527 54.20% 118.36% 2.18x
to_bytes[bytearray(palindrome)] 0.00003003498211675318 0.000013931159878460259 53.62% 115.60% 2.16x
to_bytes[bytearray(repeated 0-9)] 0.00003079758544674734 0.000014591705090864678 52.62% 111.06% 2.11x
to_bytes[bytearray(single 0xff)] 0.000029965433514501574 0.000013932071572660428 53.51% 115.08% 2.15x
to_bytes[bytearray(single null byte)] 0.000029787953435089476 0.000013900328420320945 53.34% 114.30% 2.14x
to_bytes[bytearray(two patterns)] 0.000030360424941050196 0.00001379548592919047 54.56% 120.08% 2.20x
to_bytes[False] 0.000022928172462909935 0.00000414788729387233 81.91% 452.77% 5.53x
to_bytes[long alternating] 0.000007006265871967568 0.0000037361120096618092 46.67% 87.53% 1.88x
to_bytes[memoryview(0-9)] 0.00004471073195036598 0.00001844422438015615 58.75% 142.41% 2.42x
to_bytes[memoryview(4-byte pattern)] 0.000044832773875193454 0.00001843921159434907 58.87% 143.14% 2.43x
to_bytes[memoryview(all byte values)] 0.0000445639732722851 0.00001857300208961562 58.32% 139.94% 2.40x
to_bytes[memoryview(alternating 0x00/0xff)] 0.00004237010628566168 0.00001834347569411643 56.71% 130.98% 2.31x
to_bytes[memoryview(alternating 0xaa/0x55)] 0.00004440753256688606 0.000018361287225583923 58.65% 141.85% 2.42x
to_bytes[memoryview(ascii sentence)] 0.000044593702413254275 0.000018522857790633436 58.46% 140.75% 2.41x
to_bytes[memoryview(b'')] 0.00004120357825317505 0.000016407349334429474 60.18% 151.13% 2.51x
to_bytes[memoryview(b'\\x00'*32)] 0.00004380250140648107 0.000018310952542181775 58.20% 139.21% 2.39x
to_bytes[memoryview(b'\\x00\\xff\\x00\\xff')] 0.0000438114819518529 0.000018418237330097627 57.96% 137.87% 2.38x
to_bytes[memoryview(b'\\x01'*100)] 0.00004368556371848107 0.0000189611140080543 56.60% 130.40% 2.30x
to_bytes[memoryview(b'\\x01'*2048)] 0.00005118634545957763 0.00002526509696672044 50.64% 102.60% 2.03x
to_bytes[memoryview(b'\\x01\\x02\\x03')] 0.00004377157497454359 0.000018344436048923202 58.09% 138.61% 2.39x
to_bytes[memoryview(b'\\x10\\x20\\x30\\x40\\x50')] 0.000043741195591985364 0.00001841944999036923 57.89% 137.47% 2.37x
to_bytes[memoryview(b'\\x7f'*8)] 0.000043504666013199115 0.00001847213612212558 57.54% 135.52% 2.36x
to_bytes[memoryview(b'\\x80'*8)] 0.000043910022062206335 0.00001835751612895156 58.19% 139.19% 2.39x
to_bytes[memoryview(b'\\xde\\xad\\xbe\\xef')] 0.000043536496917361776 0.000018383907057491156 57.77% 136.82% 2.37x
to_bytes[memoryview(b'\\xff'*64)] 0.000042822495785839145 0.000018475344221708353 56.86% 131.78% 2.32x
to_bytes[memoryview(b'a'*1024)] 0.00004800033056218701 0.000025454555033886307 46.97% 88.57% 1.89x
to_bytes[memoryview(b'abc')] 0.000044079554505923474 0.00001853636083989832 57.95% 137.80% 2.38x
to_bytes[memoryview(long alternating)] 0.00004777378363562711 0.000024950139097885174 47.77% 91.48% 1.91x
to_bytes[memoryview(mixed pattern)] 0.000044917046340087594 0.000018674164951131978 58.43% 140.53% 2.41x
to_bytes[memoryview(multiples of 0x10)] 0.00004462475458800708 0.000018446614803327466 58.66% 141.91% 2.42x
to_bytes[memoryview(palindrome ascii)] 0.00004500776085613373 0.000018806080494725244 58.22% 139.33% 2.39x
to_bytes[memoryview(palindrome numeric)] 0.00004441181934518433 0.00001858593093366606 58.15% 138.95% 2.39x
to_bytes[memoryview(palindrome)] 0.00004290255692375271 0.000018351607536536152 57.22% 133.78% 2.34x
to_bytes[memoryview(repeated 0-9)] 0.000045071007849356035 0.00001895529935674781 57.94% 137.78% 2.38x
to_bytes[memoryview(single 0xff)] 0.000042993810889329635 0.000018482097092990003 57.01% 132.62% 2.33x
to_bytes[memoryview(single null byte)] 0.00004428475266140744 0.000018584249940965603 58.03% 138.29% 2.38x
to_bytes[memoryview(two patterns)] 0.00004406798074096859 0.000018600485506397097 57.79% 136.92% 2.37x
to_bytes[mixed pattern] 0.000007075867122896375 0.0000037368006255323606 47.19% 89.36% 1.89x
to_bytes[multiples of 0x10] 0.000007018114857088038 0.0000037456018968811322 46.63% 87.37% 1.87x
to_bytes[palindrome ascii] 0.00000717698299216005 0.0000037326293439097933 47.99% 92.28% 1.92x
to_bytes[palindrome numeric] 0.000007016211592258366 0.00000373212949021718 46.81% 87.99% 1.88x
to_bytes[palindrome] 0.000007136694142573678 0.00000374989836502354 47.46% 90.32% 1.90x
to_bytes[repeated 0-9] 0.0000071477024256904225 0.000003732091264132372 47.79% 91.52% 1.92x
to_bytes[single 0xff] 0.000006955335653335902 0.000003653336290405324 47.47% 90.38% 1.90x
to_bytes[single null byte] 0.000006994086442696362 0.0000036331826049042905 48.05% 92.51% 1.93x
to_bytes[True] 0.000022716091203581597 0.000004177076173839485 81.61% 443.83% 5.44x
to_bytes[two patterns] 0.000007090323097818231 0.000003752797798371184 47.07% 88.93% 1.89x

faster_hexbytes.main - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
hexbytes_getitem_index[-1-0-9] 0.000026587174026013446 0.00002365417078766603 11.03% 12.40% 1.12x
hexbytes_getitem_index[-1-4-byte pattern] 0.00002665028429603906 0.00002345342303023672 12.00% 13.63% 1.14x
hexbytes_getitem_index[-1-all byte values] 0.0000267478924882629 0.000023406449610244634 12.49% 14.28% 1.14x
hexbytes_getitem_index[-1-alternating 0x00/0xff] 0.00002666325535273141 0.000023496906824710917 11.88% 13.48% 1.13x
hexbytes_getitem_index[-1-alternating 0xaa/0x55] 0.000026644749658773424 0.00002365566375215147 11.22% 12.64% 1.13x
hexbytes_getitem_index[-1-ascii sentence] 0.00002651418841175546 0.000023798657522033943 10.24% 11.41% 1.11x
hexbytes_getitem_index[-1-b'\\x00'*32] 0.000026691184531219663 0.000023713345361790644 11.16% 12.56% 1.13x
hexbytes_getitem_index[-1-b'\\x00\\xff\\x00\\xff'] 0.000026281845470386475 0.000023573149421103467 10.31% 11.49% 1.11x
hexbytes_getitem_index[-1-b'\\x01'*100] 0.000026777871339243814 0.000023667758526461235 11.61% 13.14% 1.13x
hexbytes_getitem_index[-1-b'\\x01'*2048] 0.0000265395882388116 0.000023560622357518173 11.22% 12.64% 1.13x
hexbytes_getitem_index[-1-b'\\x01\\x02\\x03'] 0.000026761917591904467 0.00002346616023609324 12.32% 14.04% 1.14x
hexbytes_getitem_index[-1-b'\\x10\\x20\\x30\\x40\\x50'] 0.000026701934553469 0.00002357629606999486 11.71% 13.26% 1.13x
hexbytes_getitem_index[-1-b'\\x7f'*8] 0.000026858148267122808 0.000023489654540409582 12.54% 14.34% 1.14x
hexbytes_getitem_index[-1-b'\\x80'*8] 0.000026713023663775475 0.000023509989852309353 11.99% 13.62% 1.14x
hexbytes_getitem_index[-1-b'\\xde\\xad\\xbe\\xef'] 0.00002668032488578638 0.000023297766682266563 12.68% 14.52% 1.15x
hexbytes_getitem_index[-1-b'\\xff'*64] 0.000026712053894561473 0.000023772041514761974 11.01% 12.37% 1.12x
hexbytes_getitem_index[-1-b'a'*1024] 0.000026648261082639594 0.00002441214977288072 8.39% 9.16% 1.09x
hexbytes_getitem_index[-1-b'abc'] 0.000026839264286786325 0.000023383222102149826 12.88% 14.78% 1.15x
hexbytes_getitem_index[-1-long alternating] 0.000026620007545365133 0.000023423384064609582 12.01% 13.65% 1.14x
hexbytes_getitem_index[-1-mixed pattern] 0.000026740284679941467 0.000023580222378917985 11.82% 13.40% 1.13x
hexbytes_getitem_index[-1-multiples of 0x10] 0.000026718519846657536 0.00002351863751638917 11.98% 13.61% 1.14x
hexbytes_getitem_index[-1-palindrome ascii] 0.000026738093126336406 0.00002353901066477634 11.96% 13.59% 1.14x
hexbytes_getitem_index[-1-palindrome numeric] 0.00002670002500345425 0.000023515688608916864 11.93% 13.54% 1.14x
hexbytes_getitem_index[-1-palindrome] 0.000026827405505473278 0.000023695561623040946 11.67% 13.22% 1.13x
hexbytes_getitem_index[-1-repeated 0-9] 0.00002656320217266309 0.00002403601174389995 9.51% 10.51% 1.11x
hexbytes_getitem_index[-1-two patterns] 0.00002685674221876309 0.00002338947509855155 12.91% 14.82% 1.15x
hexbytes_getitem_index[0-0-9] 0.000025844269396954216 0.000023549210528817843 8.88% 9.75% 1.10x
hexbytes_getitem_index[0-4-byte pattern] 0.00002617406409302085 0.00002283666864254783 12.75% 14.61% 1.15x
hexbytes_getitem_index[0-all byte values] 0.00002616068752587466 0.000022739411396922652 13.08% 15.05% 1.15x
hexbytes_getitem_index[0-alternating 0x00/0xff] 0.00002611677679990104 0.00002289477444217625 12.34% 14.07% 1.14x
hexbytes_getitem_index[0-alternating 0xaa/0x55] 0.000026183198887126986 0.0000227634813245952 13.06% 15.02% 1.15x
hexbytes_getitem_index[0-ascii sentence] 0.0000261154589059647 0.000023386662646518463 10.45% 11.67% 1.12x
hexbytes_getitem_index[0-b'\\x00'*32] 0.00002638120215083486 0.00002269882984672045 13.96% 16.22% 1.16x
hexbytes_getitem_index[0-b'\\x00\\xff\\x00\\xff'] 0.00002589886197323403 0.00002303501846650919 11.06% 12.43% 1.12x
hexbytes_getitem_index[0-b'\\x01'*100] 0.000025941690091780877 0.00002313924101938584 10.80% 12.11% 1.12x
hexbytes_getitem_index[0-b'\\x01'*2048] 0.00002604590345442012 0.000023091737983697426 11.34% 12.79% 1.13x
hexbytes_getitem_index[0-b'\\x01\\x02\\x03'] 0.0000259141851448549 0.000023570424762246755 9.04% 9.94% 1.10x
hexbytes_getitem_index[0-b'\\x10\\x20\\x30\\x40\\x50'] 0.000026088819176383053 0.00002315030961080244 11.26% 12.69% 1.13x
hexbytes_getitem_index[0-b'\\x7f'*8] 0.000025904081488681923 0.000022766364374411552 12.11% 13.78% 1.14x
hexbytes_getitem_index[0-b'\\x80'*8] 0.000025878795858336402 0.000023382224210002937 9.65% 10.68% 1.11x
hexbytes_getitem_index[0-b'\\xde\\xad\\xbe\\xef'] 0.00002585800142444789 0.000023393659662954426 9.53% 10.53% 1.11x
hexbytes_getitem_index[0-b'\\xff'*64] 0.000025806570052804565 0.000023470866959855326 9.05% 9.95% 1.10x
hexbytes_getitem_index[0-b'a'*1024] 0.00002629115622933271 0.0000234724334274988 10.72% 12.01% 1.12x
hexbytes_getitem_index[0-b'abc'] 0.000026155915363708195 0.000023029744546083924 11.95% 13.57% 1.14x
hexbytes_getitem_index[0-long alternating] 0.000026134650782874097 0.00002285514468277983 12.55% 14.35% 1.14x
hexbytes_getitem_index[0-mixed pattern] 0.000026102456771820442 0.00002298079843327156 11.96% 13.58% 1.14x
hexbytes_getitem_index[0-multiples of 0x10] 0.00002591971204413551 0.000022863374882675346 11.79% 13.37% 1.13x
hexbytes_getitem_index[0-palindrome ascii] 0.000026214179678255076 0.00002285322502072464 12.82% 14.71% 1.15x
hexbytes_getitem_index[0-palindrome numeric] 0.000026154360079284027 0.00002298370746454686 12.12% 13.80% 1.14x
hexbytes_getitem_index[0-palindrome] 0.000026234002683828125 0.00002319044933887669 11.60% 13.12% 1.13x
hexbytes_getitem_index[0-repeated 0-9] 0.000025905002531892034 0.000022818471619707867 11.91% 13.53% 1.14x
hexbytes_getitem_index[0-single 0xff] 0.000026044030798723984 0.000023371503721981312 10.26% 11.43% 1.11x
hexbytes_getitem_index[0-single null byte] 0.000026069237337206058 0.000022357516336445886 14.24% 16.60% 1.17x
hexbytes_getitem_index[0-two patterns] 0.000026005236858412623 0.000022920331496904028 11.86% 13.46% 1.13x
hexbytes_getitem_index[1-0-9] 0.00002614616902991708 0.000023643189719606843 9.57% 10.59% 1.11x
hexbytes_getitem_index[1-4-byte pattern] 0.000026148128346626456 0.000022904662510381546 12.40% 14.16% 1.14x
hexbytes_getitem_index[1-all byte values] 0.000026263475034633065 0.000023003655711995006 12.41% 14.17% 1.14x
hexbytes_getitem_index[1-alternating 0x00/0xff] 0.000025849227622643393 0.00002312522446611434 10.54% 11.78% 1.12x
hexbytes_getitem_index[1-alternating 0xaa/0x55] 0.00002570328243553313 0.000023520450851825242 8.49% 9.28% 1.09x
hexbytes_getitem_index[1-ascii sentence] 0.00002631009611766098 0.000023156352491993988 11.99% 13.62% 1.14x
hexbytes_getitem_index[1-b'\\x00'*32] 0.000026009837072408538 0.000023006933052020385 11.55% 13.05% 1.13x
hexbytes_getitem_index[1-b'\\x00\\xff\\x00\\xff'] 0.000026045784507238396 0.00002341717324708527 10.09% 11.23% 1.11x
hexbytes_getitem_index[1-b'\\x01'*100] 0.000026182626071457753 0.00002294857492471218 12.35% 14.09% 1.14x
hexbytes_getitem_index[1-b'\\x01'*2048] 0.000025996755409620798 0.000023406870297807378 9.96% 11.06% 1.11x
hexbytes_getitem_index[1-b'\\x01\\x02\\x03'] 0.000026106193173368534 0.000023989938792021287 8.11% 8.82% 1.09x
hexbytes_getitem_index[1-b'\\x10\\x20\\x30\\x40\\x50'] 0.00002630198734471778 0.000023114084248841264 12.12% 13.79% 1.14x
hexbytes_getitem_index[1-b'\\x7f'*8] 0.00002594484720050429 0.000022973999458575446 11.45% 12.93% 1.13x
hexbytes_getitem_index[1-b'\\x80'*8] 0.000025791893603238312 0.000023000775091718313 10.82% 12.13% 1.12x
hexbytes_getitem_index[1-b'\\xde\\xad\\xbe\\xef'] 0.000026132288213344744 0.00002321398063519808 11.17% 12.57% 1.13x
hexbytes_getitem_index[1-b'\\xff'*64] 0.000025987947825001672 0.00002308091217329444 11.19% 12.59% 1.13x
hexbytes_getitem_index[1-b'a'*1024] 0.000026038646683261686 0.000023698271366289688 8.99% 9.88% 1.10x
hexbytes_getitem_index[1-b'abc'] 0.00002613595448575295 0.00002320113154627965 11.23% 12.65% 1.13x
hexbytes_getitem_index[1-long alternating] 0.00002616508206389433 0.000023442696442172426 10.40% 11.61% 1.12x
hexbytes_getitem_index[1-mixed pattern] 0.000026301471050444017 0.00002296393760251226 12.69% 14.53% 1.15x
hexbytes_getitem_index[1-multiples of 0x10] 0.000026118008927926327 0.000023736018257945653 9.12% 10.04% 1.10x
hexbytes_getitem_index[1-palindrome ascii] 0.000026123155961343822 0.00002274951352717854 12.91% 14.83% 1.15x
hexbytes_getitem_index[1-palindrome numeric] 0.000026075167086065636 0.000022944934614490593 12.00% 13.64% 1.14x
hexbytes_getitem_index[1-palindrome] 0.000026112762179528916 0.00002329939556811656 10.77% 12.07% 1.12x
hexbytes_getitem_index[1-repeated 0-9] 0.000026210546165947736 0.000023152634876848835 11.67% 13.21% 1.13x
hexbytes_getitem_index[1-two patterns] 0.000026254927304375607 0.00002299443577033255 12.42% 14.18% 1.14x
hexbytes_getitem_index[2-0-9] 0.000025976600621337293 0.00002283644380083903 12.09% 13.75% 1.14x
hexbytes_getitem_index[2-4-byte pattern] 0.000026020654852512966 0.00002305620266540445 11.39% 12.86% 1.13x
hexbytes_getitem_index[2-all byte values] 0.000026016398076615294 0.000022954312530175866 11.77% 13.34% 1.13x
hexbytes_getitem_index[2-alternating 0x00/0xff] 0.0000260059854807976 0.00002307057618995384 11.29% 12.72% 1.13x
hexbytes_getitem_index[2-alternating 0xaa/0x55] 0.000025959470561148186 0.000022800075970917232 12.17% 13.86% 1.14x
hexbytes_getitem_index[2-ascii sentence] 0.000025936583044721237 0.000022485923454464917 13.30% 15.35% 1.15x
hexbytes_getitem_index[2-b'\\x00'*32] 0.000026132526463676263 0.000023241343198584603 11.06% 12.44% 1.12x
hexbytes_getitem_index[2-b'\\x00\\xff\\x00\\xff'] 0.000025974045018651495 0.00002371563959394746 8.69% 9.52% 1.10x
hexbytes_getitem_index[2-b'\\x01'*100] 0.00002569031339175292 0.000022807340396042727 11.22% 12.64% 1.13x
hexbytes_getitem_index[2-b'\\x01'*2048] 0.000026054512571156033 0.000023040079429328427 11.57% 13.08% 1.13x
hexbytes_getitem_index[2-b'\\x01\\x02\\x03'] 0.000026097411879961287 0.000023514189362849144 9.90% 10.99% 1.11x
hexbytes_getitem_index[2-b'\\x10\\x20\\x30\\x40\\x50'] 0.00002590814727746916 0.000023082751172756464 10.91% 12.24% 1.12x
hexbytes_getitem_index[2-b'\\x7f'*8] 0.000026027255398441318 0.000023970485852011295 7.90% 8.58% 1.09x
hexbytes_getitem_index[2-b'\\x80'*8] 0.00002602159870811773 0.000022439096535821766 13.77% 15.97% 1.16x
hexbytes_getitem_index[2-b'\\xde\\xad\\xbe\\xef'] 0.00002606235881608154 0.00002374274082387349 8.90% 9.77% 1.10x
hexbytes_getitem_index[2-b'\\xff'*64] 0.00002603955597895936 0.00002300998056825904 11.63% 13.17% 1.13x
hexbytes_getitem_index[2-b'a'*1024] 0.00002601290579540317 0.000023582055341614408 9.34% 10.31% 1.10x
hexbytes_getitem_index[2-b'abc'] 0.00002622228652931147 0.000023016113814753203 12.23% 13.93% 1.14x
hexbytes_getitem_index[2-long alternating] 0.000026029882208744514 0.00002289066132957785 12.06% 13.71% 1.14x
hexbytes_getitem_index[2-mixed pattern] 0.000025988380933548854 0.00002311723312134273 11.05% 12.42% 1.12x
hexbytes_getitem_index[2-multiples of 0x10] 0.000026025894602131204 0.000023067447319366882 11.37% 12.83% 1.13x
hexbytes_getitem_index[2-palindrome ascii] 0.000025975124548187594 0.000022985140599383147 11.51% 13.01% 1.13x
hexbytes_getitem_index[2-palindrome numeric] 0.00002593991032044871 0.000022439678376713405 13.49% 15.60% 1.16x
hexbytes_getitem_index[2-palindrome] 0.000025638663347583217 0.000023528295955240962 8.23% 8.97% 1.09x
hexbytes_getitem_index[2-repeated 0-9] 0.000025950467734794724 0.00002296671196928261 11.50% 12.99% 1.13x
hexbytes_getitem_index[2-two patterns] 0.000026010883402327255 0.000023079577993536158 11.27% 12.70% 1.13x
hexbytes_getitem_index[3-0-9] 0.000026093016811467815 0.000022976746525572938 11.94% 13.56% 1.14x
hexbytes_getitem_index[3-4-byte pattern] 0.000026441860124749148 0.000023118837770439438 12.57% 14.37% 1.14x
hexbytes_getitem_index[3-all byte values] 0.0000263657085239553 0.00002287599664918701 13.24% 15.25% 1.15x
hexbytes_getitem_index[3-alternating 0x00/0xff] 0.000026381653096535074 0.00002299466506644767 12.84% 14.73% 1.15x
hexbytes_getitem_index[3-alternating 0xaa/0x55] 0.000026102593554708112 0.0000227900005900302 12.69% 14.54% 1.15x
hexbytes_getitem_index[3-ascii sentence] 0.0000261189721623577 0.000023745073814126758 9.09% 10.00% 1.10x
hexbytes_getitem_index[3-b'\\x00'*32] 0.000025781335432687603 0.00002304188259938397 10.63% 11.89% 1.12x
hexbytes_getitem_index[3-b'\\x00\\xff\\x00\\xff'] 0.00002600345336562494 0.000022989823316823927 11.59% 13.11% 1.13x
hexbytes_getitem_index[3-b'\\x01'*100] 0.000026193421566494564 0.000023052567540728036 11.99% 13.62% 1.14x
hexbytes_getitem_index[3-b'\\x01'*2048] 0.00002619098805342025 0.000023086456129843435 11.85% 13.45% 1.13x
hexbytes_getitem_index[3-b'\\x10\\x20\\x30\\x40\\x50'] 0.000026423033345467593 0.00002303508436788059 12.82% 14.71% 1.15x
hexbytes_getitem_index[3-b'\\x7f'*8] 0.000026150025089552975 0.00002292399962226216 12.34% 14.07% 1.14x
hexbytes_getitem_index[3-b'\\x80'*8] 0.000026184604066895017 0.00002315481799790865 11.57% 13.08% 1.13x
hexbytes_getitem_index[3-b'\\xde\\xad\\xbe\\xef'] 0.00002592154049952631 0.00002296357898667941 11.41% 12.88% 1.13x
hexbytes_getitem_index[3-b'\\xff'*64] 0.000026035885815521223 0.00002315872773863337 11.05% 12.42% 1.12x
hexbytes_getitem_index[3-b'a'*1024] 0.00002606498518881831 0.00002286272115329863 12.29% 14.01% 1.14x
hexbytes_getitem_index[3-long alternating] 0.00002626748862992404 0.000022815975515962088 13.14% 15.13% 1.15x
hexbytes_getitem_index[3-mixed pattern] 0.000026337570701473227 0.000022933831603291104 12.92% 14.84% 1.15x
hexbytes_getitem_index[3-multiples of 0x10] 0.00002616508440902494 0.000022908175503039166 12.45% 14.22% 1.14x
hexbytes_getitem_index[3-palindrome ascii] 0.000026075405264360773 0.000022889550719409292 12.22% 13.92% 1.14x
hexbytes_getitem_index[3-palindrome numeric] 0.000026220451246073154 0.000023014091869465367 12.23% 13.93% 1.14x
hexbytes_getitem_index[3-palindrome] 0.000025855767623899675 0.000022833431366560483 11.69% 13.24% 1.13x
hexbytes_getitem_index[3-repeated 0-9] 0.000026394604893864248 0.00002303621738094 12.72% 14.58% 1.15x
hexbytes_getitem_index[3-two patterns] 0.000026267105363728353 0.000023482309740082046 10.60% 11.86% 1.12x
hexbytes_getitem_index[4-0-9] 0.00002629808417654082 0.00002372514150638589 9.78% 10.84% 1.11x
hexbytes_getitem_index[4-4-byte pattern] 0.000026300200253143914 0.000022777402742395842 13.39% 15.47% 1.15x
hexbytes_getitem_index[4-all byte values] 0.000026320412711319057 0.000022963283566724484 12.75% 14.62% 1.15x
hexbytes_getitem_index[4-alternating 0x00/0xff] 0.00002599911862098809 0.000023572430287186575 9.33% 10.29% 1.10x
hexbytes_getitem_index[4-alternating 0xaa/0x55] 0.000026267681878194995 0.0000237011755998157 9.77% 10.83% 1.11x
hexbytes_getitem_index[4-ascii sentence] 0.00002615506984186095 0.000023042688093688403 11.90% 13.51% 1.14x
hexbytes_getitem_index[4-b'\\x00'*32] 0.000026281658597480654 0.000022914862887646384 12.81% 14.69% 1.15x
hexbytes_getitem_index[4-b'\\x01'*100] 0.000026219592674421622 0.000023026266062393904 12.18% 13.87% 1.14x
hexbytes_getitem_index[4-b'\\x01'*2048] 0.000026189336252985758 0.00002362513906941871 9.79% 10.85% 1.11x
hexbytes_getitem_index[4-b'\\x10\\x20\\x30\\x40\\x50'] 0.00002618330843067944 0.000023273049333165254 11.11% 12.50% 1.13x
hexbytes_getitem_index[4-b'\\x7f'*8] 0.0000261290876295694 0.000022883136160630796 12.42% 14.18% 1.14x
hexbytes_getitem_index[4-b'\\x80'*8] 0.000026262131532740287 0.00002300788054075335 12.39% 14.14% 1.14x
hexbytes_getitem_index[4-b'\\xff'*64] 0.000026289721426859795 0.000023158942630352535 11.91% 13.52% 1.14x
hexbytes_getitem_index[4-b'a'*1024] 0.000025957053683879952 0.00002298073515455601 11.47% 12.95% 1.13x
hexbytes_getitem_index[4-long alternating] 0.00002624859131506439 0.000023073730611246142 12.10% 13.76% 1.14x
hexbytes_getitem_index[4-mixed pattern] 0.00002628129520754578 0.000022631063479974912 13.89% 16.13% 1.16x
hexbytes_getitem_index[4-multiples of 0x10] 0.000026051654853282073 0.000024043043005832033 7.71% 8.35% 1.08x
hexbytes_getitem_index[4-palindrome ascii] 0.000026581254959180553 0.000022939222594330993 13.70% 15.88% 1.16x
hexbytes_getitem_index[4-palindrome numeric] 0.00002700826669142065 0.000022453500038404444 16.86% 20.29% 1.20x
hexbytes_getitem_index[4-palindrome] 0.000026206775836372668 0.000022728338240169542 13.27% 15.30% 1.15x
hexbytes_getitem_index[4-repeated 0-9] 0.000026163165155164016 0.00002325769743300547 11.11% 12.49% 1.12x
hexbytes_getitem_index[4-two patterns] 0.00002622680304583678 0.000023035217983467345 12.17% 13.86% 1.14x
hexbytes_getitem_index[5-0-9] 0.000026113043455460085 0.000022849616062372104 12.50% 14.28% 1.14x
hexbytes_getitem_index[5-4-byte pattern] 0.000026121280692303008 0.00002359900147043117 9.66% 10.69% 1.11x
hexbytes_getitem_index[5-all byte values] 0.000026160459063359632 0.00002313446793025413 11.57% 13.08% 1.13x
hexbytes_getitem_index[5-alternating 0x00/0xff] 0.000026104775578307485 0.000023084628621758273 11.57% 13.08% 1.13x
hexbytes_getitem_index[5-alternating 0xaa/0x55] 0.000026074869802403962 0.000022952497305244304 11.97% 13.60% 1.14x
hexbytes_getitem_index[5-ascii sentence] 0.000026402913902253366 0.000023003339576582927 12.88% 14.78% 1.15x
hexbytes_getitem_index[5-b'\\x00'*32] 0.00002623488811916205 0.000022829706625029206 12.98% 14.92% 1.15x
hexbytes_getitem_index[5-b'\\x01'*100] 0.000026392232912424984 0.000022261849456591834 15.65% 18.55% 1.19x
hexbytes_getitem_index[5-b'\\x01'*2048] 0.00002628570838741951 0.000023146125082607915 11.94% 13.56% 1.14x
hexbytes_getitem_index[5-b'\\x7f'*8] 0.000026083296077394743 0.000023034342489741713 11.69% 13.24% 1.13x
hexbytes_getitem_index[5-b'\\x80'*8] 0.000026247374761772997 0.000023114201924844737 11.94% 13.56% 1.14x
hexbytes_getitem_index[5-b'\\xff'*64] 0.00002606440073632832 0.000023085028464096264 11.43% 12.91% 1.13x
hexbytes_getitem_index[5-b'a'*1024] 0.000026059165545028595 0.000023055060065061234 11.53% 13.03% 1.13x
hexbytes_getitem_index[5-long alternating] 0.00002609302213328198 0.000022472200502720988 13.88% 16.11% 1.16x
hexbytes_getitem_index[5-mixed pattern] 0.000026209626929215474 0.000023083382975557756 11.93% 13.54% 1.14x
hexbytes_getitem_index[5-multiples of 0x10] 0.000026100871196778 0.00002284295496501958 12.48% 14.26% 1.14x
hexbytes_getitem_index[5-palindrome ascii] 0.000025977099622929185 0.000023134924416153467 10.94% 12.29% 1.12x
hexbytes_getitem_index[5-palindrome] 0.000025618718507618204 0.000023139328546752856 9.68% 10.72% 1.11x
hexbytes_getitem_index[5-repeated 0-9] 0.00002564967085973698 0.000023138665509237224 9.79% 10.85% 1.11x
hexbytes_getitem_index[5-two patterns] 0.00002644584747987086 0.000023141115211095927 12.50% 14.28% 1.14x
hexbytes_getitem_slice[slice(-3,None)-0-9] 0.00008100734473092027 0.00005669764953782137 30.01% 42.88% 1.43x
hexbytes_getitem_slice[slice(-3,None)-4-byte pattern] 0.0000802628056394759 0.00005679276128340398 29.24% 41.33% 1.41x
hexbytes_getitem_slice[slice(-3,None)-all byte values] 0.00008066502121469182 0.000056429638450271476 30.04% 42.95% 1.43x
hexbytes_getitem_slice[slice(-3,None)-alternating 0x00/0xff] 0.00008121289069415215 0.00005678484516455578 30.08% 43.02% 1.43x
hexbytes_getitem_slice[slice(-3,None)-alternating 0xaa/0x55] 0.00008160229915897927 0.00005709754303553958 30.03% 42.92% 1.43x
hexbytes_getitem_slice[slice(-3,None)-ascii sentence] 0.0000804320906508453 0.000057966458763788684 27.93% 38.76% 1.39x
hexbytes_getitem_slice[slice(-3,None)-b''] 0.00007842785499945497 0.00005397809254778314 31.17% 45.30% 1.45x
hexbytes_getitem_slice[slice(-3,None)-b'\\x00'*32] 0.00008016864385258536 0.00005675860964478955 29.20% 41.24% 1.41x
hexbytes_getitem_slice[slice(-3,None)-b'\\x00\\xff\\x00\\xff'] 0.00007999164550770972 0.000059101163469286165 26.12% 35.35% 1.35x
hexbytes_getitem_slice[slice(-3,None)-b'\\x01'*100] 0.0000810587151596082 0.000056740855163008 30.00% 42.86% 1.43x
hexbytes_getitem_slice[slice(-3,None)-b'\\x01'*2048] 0.00008122432971726957 0.000056944685418905134 29.89% 42.64% 1.43x
hexbytes_getitem_slice[slice(-3,None)-b'\\x01\\x02\\x03'] 0.00008045628037743582 0.000057113917267845616 29.01% 40.87% 1.41x
hexbytes_getitem_slice[slice(-3,None)-b'\\x10\\x20\\x30\\x40\\x50'] 0.00008030717404970305 0.00005682117014689665 29.25% 41.33% 1.41x
hexbytes_getitem_slice[slice(-3,None)-b'\\x7f'*8] 0.00008068671835283668 0.00005686231406173043 29.53% 41.90% 1.42x
hexbytes_getitem_slice[slice(-3,None)-b'\\x80'*8] 0.00008072576361256307 0.00005650148594068471 30.01% 42.87% 1.43x
hexbytes_getitem_slice[slice(-3,None)-b'\\xde\\xad\\xbe\\xef'] 0.00007905888788914016 0.00005626222782850059 28.84% 40.52% 1.41x
hexbytes_getitem_slice[slice(-3,None)-b'\\xff'*64] 0.00008161142469587785 0.00005715032831059758 29.97% 42.80% 1.43x
hexbytes_getitem_slice[slice(-3,None)-b'a'*1024] 0.00008110631414993093 0.0000566946510401394 30.10% 43.06% 1.43x
hexbytes_getitem_slice[slice(-3,None)-b'abc'] 0.00008003425614149571 0.000056991308563885235 28.79% 40.43% 1.40x
hexbytes_getitem_slice[slice(-3,None)-long alternating] 0.00008093007700066816 0.00005697910276064346 29.59% 42.03% 1.42x
hexbytes_getitem_slice[slice(-3,None)-mixed pattern] 0.00008045276764172881 0.00005761340865708187 28.39% 39.64% 1.40x
hexbytes_getitem_slice[slice(-3,None)-multiples of 0x10] 0.00008150461492587953 0.00005699593941500979 30.07% 43.00% 1.43x
hexbytes_getitem_slice[slice(-3,None)-palindrome ascii] 0.00008042998207620676 0.000056460684460619914 29.80% 42.45% 1.42x
hexbytes_getitem_slice[slice(-3,None)-palindrome numeric] 0.00008020611894316169 0.00005750379329548754 28.30% 39.48% 1.39x
hexbytes_getitem_slice[slice(-3,None)-palindrome] 0.00008065408102728447 0.00005665057281172646 29.76% 42.37% 1.42x
hexbytes_getitem_slice[slice(-3,None)-repeated 0-9] 0.00008104286266033953 0.000056892297408062374 29.80% 42.45% 1.42x
hexbytes_getitem_slice[slice(-3,None)-single 0xff] 0.0000786688963551607 0.00005408588092011335 31.25% 45.45% 1.45x
hexbytes_getitem_slice[slice(-3,None)-single null byte] 0.00007824425237951894 0.00005449084740900971 30.36% 43.59% 1.44x
hexbytes_getitem_slice[slice(-3,None)-two patterns] 0.00008081802719116463 0.000056897466800741725 29.60% 42.04% 1.42x
hexbytes_getitem_slice[slice(0,3)-0-9] 0.0000820203681708144 0.00005752937357606834 29.86% 42.57% 1.43x
hexbytes_getitem_slice[slice(0,3)-4-byte pattern] 0.00008188815216154129 0.00005791598514439583 29.27% 41.39% 1.41x
hexbytes_getitem_slice[slice(0,3)-all byte values] 0.00008200074491211313 0.000057655338288676297 29.69% 42.23% 1.42x
hexbytes_getitem_slice[slice(0,3)-alternating 0x00/0xff] 0.0000840277881460015 0.000057741948286935665 31.28% 45.52% 1.46x
hexbytes_getitem_slice[slice(0,3)-alternating 0xaa/0x55] 0.00008047988094412337 0.000057817521728294314 28.16% 39.20% 1.39x
hexbytes_getitem_slice[slice(0,3)-ascii sentence] 0.00008167700999521402 0.000058278030351446434 28.65% 40.15% 1.40x
hexbytes_getitem_slice[slice(0,3)-b''] 0.00007897998407500398 0.00005507684882548786 30.26% 43.40% 1.43x
hexbytes_getitem_slice[slice(0,3)-b'\\x00'*32] 0.00008214793994185208 0.00005741647163956127 30.11% 43.07% 1.43x
hexbytes_getitem_slice[slice(0,3)-b'\\x00\\xff\\x00\\xff'] 0.00008145693287338888 0.00005717581378661737 29.81% 42.47% 1.42x
hexbytes_getitem_slice[slice(0,3)-b'\\x01'*100] 0.00008095563042205153 0.00005774552029825305 28.67% 40.19% 1.40x
hexbytes_getitem_slice[slice(0,3)-b'\\x01'*2048] 0.00008186820911302885 0.00005753595598037372 29.72% 42.29% 1.42x
hexbytes_getitem_slice[slice(0,3)-b'\\x01\\x02\\x03'] 0.00008111107669599137 0.00005806597465230741 28.41% 39.69% 1.40x
hexbytes_getitem_slice[slice(0,3)-b'\\x10\\x20\\x30\\x40\\x50'] 0.00008166620537993904 0.00005754738054407857 29.53% 41.91% 1.42x
hexbytes_getitem_slice[slice(0,3)-b'\\x7f'*8] 0.0000822453556458467 0.000057643213144378636 29.91% 42.68% 1.43x
hexbytes_getitem_slice[slice(0,3)-b'\\x80'*8] 0.00008278180260162552 0.00005730301142342473 30.78% 44.46% 1.44x
hexbytes_getitem_slice[slice(0,3)-b'\\xde\\xad\\xbe\\xef'] 0.00008035015462711515 0.000057496175265023855 28.44% 39.75% 1.40x
hexbytes_getitem_slice[slice(0,3)-b'\\xff'*64] 0.00008262793441821595 0.0000574758238764415 30.44% 43.76% 1.44x
hexbytes_getitem_slice[slice(0,3)-b'a'*1024] 0.00008171622633858487 0.00005798807785114007 29.04% 40.92% 1.41x
hexbytes_getitem_slice[slice(0,3)-b'abc'] 0.0000803553092103226 0.000059845496473173676 25.52% 34.27% 1.34x
hexbytes_getitem_slice[slice(0,3)-long alternating] 0.00008208269151232908 0.00005766288144184126 29.75% 42.35% 1.42x
hexbytes_getitem_slice[slice(0,3)-mixed pattern] 0.00008096095365148457 0.0000586156755873059 27.60% 38.12% 1.38x
hexbytes_getitem_slice[slice(0,3)-multiples of 0x10] 0.0000829718630020185 0.00005783495815180234 30.30% 43.46% 1.43x
hexbytes_getitem_slice[slice(0,3)-palindrome ascii] 0.00008279406540026949 0.000057724988511929475 30.28% 43.43% 1.43x
hexbytes_getitem_slice[slice(0,3)-palindrome numeric] 0.00008172082681911996 0.00005767991685011754 29.42% 41.68% 1.42x
hexbytes_getitem_slice[slice(0,3)-palindrome] 0.00008269213739589085 0.00005721061310604943 30.81% 44.54% 1.45x
hexbytes_getitem_slice[slice(0,3)-repeated 0-9] 0.00008014345995351105 0.00006007726269505203 25.04% 33.40% 1.33x
hexbytes_getitem_slice[slice(0,3)-single 0xff] 0.00007856625116222473 0.000055622803845098175 29.20% 41.25% 1.41x
hexbytes_getitem_slice[slice(0,3)-single null byte] 0.00007848696136539091 0.000055036233119483325 29.88% 42.61% 1.43x
hexbytes_getitem_slice[slice(0,3)-two patterns] 0.00008120019589373736 0.00005773235938326539 28.90% 40.65% 1.41x
hexbytes_getitem_slice[slice(1,6)-0-9] 0.00008073631951979588 0.00005998437285323112 25.70% 34.60% 1.35x
hexbytes_getitem_slice[slice(1,6)-4-byte pattern] 0.00008076574947636021 0.00005793946083432045 28.26% 39.40% 1.39x
hexbytes_getitem_slice[slice(1,6)-all byte values] 0.0000814580124801684 0.00005753229520570836 29.37% 41.59% 1.42x
hexbytes_getitem_slice[slice(1,6)-alternating 0x00/0xff] 0.00008229631205541947 0.000057180583443542094 30.52% 43.92% 1.44x
hexbytes_getitem_slice[slice(1,6)-alternating 0xaa/0x55] 0.0000840270997315121 0.00005743930292009442 31.64% 46.29% 1.46x
hexbytes_getitem_slice[slice(1,6)-ascii sentence] 0.00008211383249375842 0.000057889854875974515 29.50% 41.84% 1.42x
hexbytes_getitem_slice[slice(1,6)-b''] 0.00007837934359671021 0.000055393113198508235 29.33% 41.50% 1.41x
hexbytes_getitem_slice[slice(1,6)-b'\\x00'*32] 0.00008267650438545577 0.00005741428869068304 30.56% 44.00% 1.44x
hexbytes_getitem_slice[slice(1,6)-b'\\x00\\xff\\x00\\xff'] 0.00008166098240253987 0.00005717496382024183 29.98% 42.83% 1.43x
hexbytes_getitem_slice[slice(1,6)-b'\\x01'*100] 0.00008211472904080755 0.00005767093447249441 29.77% 42.38% 1.42x
hexbytes_getitem_slice[slice(1,6)-b'\\x01'*2048] 0.00008056819364240341 0.00005729077953294427 28.89% 40.63% 1.41x
hexbytes_getitem_slice[slice(1,6)-b'\\x01\\x02\\x03'] 0.00008214256113958502 0.000057411662832494244 30.11% 43.08% 1.43x
hexbytes_getitem_slice[slice(1,6)-b'\\x10\\x20\\x30\\x40\\x50'] 0.00008070061050400794 0.000056867585890508346 29.53% 41.91% 1.42x
hexbytes_getitem_slice[slice(1,6)-b'\\x7f'*8] 0.00008333160946807133 0.0000576451429971124 30.82% 44.56% 1.45x
hexbytes_getitem_slice[slice(1,6)-b'\\x80'*8] 0.00008200907840130835 0.000057503152881850003 29.88% 42.62% 1.43x
hexbytes_getitem_slice[slice(1,6)-b'\\xde\\xad\\xbe\\xef'] 0.00008081395615515414 0.000057558596403331506 28.78% 40.40% 1.40x
hexbytes_getitem_slice[slice(1,6)-b'\\xff'*64] 0.00008110889953636862 0.000058549529916221666 27.81% 38.53% 1.39x
hexbytes_getitem_slice[slice(1,6)-b'a'*1024] 0.00008122580972569774 0.00005794467608641277 28.66% 40.18% 1.40x
hexbytes_getitem_slice[slice(1,6)-b'abc'] 0.00008028856837356082 0.00005702966009052989 28.97% 40.78% 1.41x
hexbytes_getitem_slice[slice(1,6)-long alternating] 0.00008066485116748942 0.000057638686494087114 28.55% 39.95% 1.40x
hexbytes_getitem_slice[slice(1,6)-mixed pattern] 0.0000810216839172189 0.00005814463010070087 28.24% 39.35% 1.39x
hexbytes_getitem_slice[slice(1,6)-multiples of 0x10] 0.00008064859300059072 0.00005816402063579923 27.88% 38.66% 1.39x
hexbytes_getitem_slice[slice(1,6)-palindrome ascii] 0.00008137111787520611 0.00005767607738811478 29.12% 41.08% 1.41x
hexbytes_getitem_slice[slice(1,6)-palindrome numeric] 0.00008201478542688807 0.00005771549177132609 29.63% 42.10% 1.42x
hexbytes_getitem_slice[slice(1,6)-palindrome] 0.00008134264654905088 0.00005751227861880657 29.30% 41.44% 1.41x
hexbytes_getitem_slice[slice(1,6)-repeated 0-9] 0.00008128167219889398 0.000057222491914252505 29.60% 42.04% 1.42x
hexbytes_getitem_slice[slice(1,6)-single 0xff] 0.00007838544420289964 0.00005499988587206518 29.83% 42.52% 1.43x
hexbytes_getitem_slice[slice(1,6)-single null byte] 0.00007852989188974636 0.00005512611989059855 29.80% 42.45% 1.42x
hexbytes_getitem_slice[slice(1,6)-two patterns] 0.00008106824767223746 0.00006016404535215823 25.79% 34.75% 1.35x
hexbytes_getitem_slice[slice(2,None)-0-9] 0.0000797515470701689 0.00005621563700140831 29.51% 41.87% 1.42x
hexbytes_getitem_slice[slice(2,None)-4-byte pattern] 0.00008109604880013786 0.00005668911653460634 30.10% 43.05% 1.43x
hexbytes_getitem_slice[slice(2,None)-all byte values] 0.00008182424309022144 0.000056608784413229776 30.82% 44.54% 1.45x
hexbytes_getitem_slice[slice(2,None)-alternating 0x00/0xff] 0.00008103506403122967 0.000057155831582329294 29.47% 41.78% 1.42x
hexbytes_getitem_slice[slice(2,None)-alternating 0xaa/0x55] 0.00008085439920980269 0.00005574849005551175 31.05% 45.03% 1.45x
hexbytes_getitem_slice[slice(2,None)-ascii sentence] 0.00007980415763946153 0.00005645673224590828 29.26% 41.35% 1.41x
hexbytes_getitem_slice[slice(2,None)-b''] 0.00007830388113493765 0.000053746783040757117 31.36% 45.69% 1.46x
hexbytes_getitem_slice[slice(2,None)-b'\\x00'*32] 0.00008060429216674699 0.000056560052410053064 29.83% 42.51% 1.43x
hexbytes_getitem_slice[slice(2,None)-b'\\x00\\xff\\x00\\xff'] 0.00008063548459654138 0.00005691574560902156 29.42% 41.68% 1.42x
hexbytes_getitem_slice[slice(2,None)-b'\\x01'*100] 0.00008126949987017943 0.00005716010410475577 29.67% 42.18% 1.42x
hexbytes_getitem_slice[slice(2,None)-b'\\x01'*2048] 0.00010229738955502207 0.00007856610535046878 23.20% 30.21% 1.30x
hexbytes_getitem_slice[slice(2,None)-b'\\x01\\x02\\x03'] 0.00007768809156356334 0.0000536848452216332 30.90% 44.71% 1.45x
hexbytes_getitem_slice[slice(2,None)-b'\\x10\\x20\\x30\\x40\\x50'] 0.00008090579466354162 0.00005670884840641728 29.91% 42.67% 1.43x
hexbytes_getitem_slice[slice(2,None)-b'\\x7f'*8] 0.00008128438673203305 0.000057020097895392096 29.85% 42.55% 1.43x
hexbytes_getitem_slice[slice(2,None)-b'\\x80'*8] 0.00008086575978269128 0.00005720523298673053 29.26% 41.36% 1.41x
hexbytes_getitem_slice[slice(2,None)-b'\\xde\\xad\\xbe\\xef'] 0.00008025812971834784 0.000056490797637153595 29.61% 42.07% 1.42x
hexbytes_getitem_slice[slice(2,None)-b'\\xff'*64] 0.00008034668401307428 0.000057084636445186874 28.95% 40.75% 1.41x
hexbytes_getitem_slice[slice(2,None)-b'a'*1024] 0.00009431108062739521 0.00007289266991816656 22.71% 29.38% 1.29x
hexbytes_getitem_slice[slice(2,None)-b'abc'] 0.00007798415611939399 0.000053532317425109 31.35% 45.68% 1.46x
hexbytes_getitem_slice[slice(2,None)-long alternating] 0.00009723465321110475 0.00007236112514027067 25.58% 34.37% 1.34x
hexbytes_getitem_slice[slice(2,None)-mixed pattern] 0.00008156241270379483 0.000056430422849134966 30.81% 44.54% 1.45x
hexbytes_getitem_slice[slice(2,None)-multiples of 0x10] 0.00008021887363319389 0.000055743532766932253 30.51% 43.91% 1.44x
hexbytes_getitem_slice[slice(2,None)-palindrome ascii] 0.00008071592574054638 0.000056975129513784824 29.41% 41.67% 1.42x
hexbytes_getitem_slice[slice(2,None)-palindrome numeric] 0.00007978926312767116 0.00005711925451667411 28.41% 39.69% 1.40x
hexbytes_getitem_slice[slice(2,None)-palindrome] 0.0000797845461052363 0.00005670177170918805 28.93% 40.71% 1.41x
hexbytes_getitem_slice[slice(2,None)-repeated 0-9] 0.00008101807754333248 0.00005756447904758201 28.95% 40.74% 1.41x
hexbytes_getitem_slice[slice(2,None)-single 0xff] 0.00007773117334260525 0.00005422854703711529 30.24% 43.34% 1.43x
hexbytes_getitem_slice[slice(2,None)-single null byte] 0.00007854771948380856 0.000054079619655321034 31.15% 45.24% 1.45x
hexbytes_getitem_slice[slice(2,None)-two patterns] 0.00008040285456676892 0.000056789562602270165 29.37% 41.58% 1.42x
hexbytes_getitem_slice[slice(None,None)-0-9] 0.00007824160759427115 0.00005618892513355897 28.19% 39.25% 1.39x
hexbytes_getitem_slice[slice(None,None)-4-byte pattern] 0.0000807074149396384 0.0000564115772480842 30.10% 43.07% 1.43x
hexbytes_getitem_slice[slice(None,None)-all byte values] 0.00007994202608515402 0.000056820715523482744 28.92% 40.69% 1.41x
hexbytes_getitem_slice[slice(None,None)-alternating 0x00/0xff] 0.00007921243606480366 0.00005673775539229098 28.37% 39.61% 1.40x
hexbytes_getitem_slice[slice(None,None)-alternating 0xaa/0x55] 0.00007920745944173164 0.00005618832515634097 29.06% 40.97% 1.41x
hexbytes_getitem_slice[slice(None,None)-ascii sentence] 0.00007912477900532909 0.00005646719360771298 28.64% 40.13% 1.40x
hexbytes_getitem_slice[slice(None,None)-b''] 0.00007859817364012613 0.000053716197686024314 31.66% 46.32% 1.46x
hexbytes_getitem_slice[slice(None,None)-b'\\x00'*32] 0.0000792817862608111 0.000056072689169411136 29.27% 41.39% 1.41x
hexbytes_getitem_slice[slice(None,None)-b'\\x00\\xff\\x00\\xff'] 0.00007960901668257099 0.00005613039739286725 29.49% 41.83% 1.42x
hexbytes_getitem_slice[slice(None,None)-b'\\x01'*100] 0.00007932586614174351 0.00005703713074484601 28.10% 39.08% 1.39x
hexbytes_getitem_slice[slice(None,None)-b'\\x01'*2048] 0.00010138465046506899 0.00007759410313944284 23.47% 30.66% 1.31x
hexbytes_getitem_slice[slice(None,None)-b'\\x01\\x02\\x03'] 0.00007957144536800765 0.00005625566296441385 29.30% 41.45% 1.41x
hexbytes_getitem_slice[slice(None,None)-b'\\x10\\x20\\x30\\x40\\x50'] 0.00007844899550637722 0.00005683798970392348 27.55% 38.02% 1.38x
hexbytes_getitem_slice[slice(None,None)-b'\\x7f'*8] 0.00007961197830799717 0.00005633057351674965 29.24% 41.33% 1.41x
hexbytes_getitem_slice[slice(None,None)-b'\\x80'*8] 0.00007879099860485195 0.00005653864199146056 28.24% 39.36% 1.39x
hexbytes_getitem_slice[slice(None,None)-b'\\xde\\xad\\xbe\\xef'] 0.00007952631936652344 0.00005601719273791721 29.56% 41.97% 1.42x
hexbytes_getitem_slice[slice(None,None)-b'\\xff'*64] 0.00007946210815987422 0.000056818304314740735 28.50% 39.85% 1.40x
hexbytes_getitem_slice[slice(None,None)-b'a'*1024] 0.00009539864360163863 0.00007148356902847334 25.07% 33.46% 1.33x
hexbytes_getitem_slice[slice(None,None)-b'abc'] 0.00007943620035966824 0.00005655915139855062 28.80% 40.45% 1.40x
hexbytes_getitem_slice[slice(None,None)-long alternating] 0.0000953931021462049 0.00007181662812814926 24.72% 32.83% 1.33x
hexbytes_getitem_slice[slice(None,None)-mixed pattern] 0.00008017971476908431 0.00005655503878371746 29.46% 41.77% 1.42x
hexbytes_getitem_slice[slice(None,None)-multiples of 0x10] 0.00007836922027010407 0.000055759468456862324 28.85% 40.55% 1.41x
hexbytes_getitem_slice[slice(None,None)-palindrome ascii] 0.00007828418007795263 0.000056603288277955665 27.70% 38.30% 1.38x
hexbytes_getitem_slice[slice(None,None)-palindrome numeric] 0.00007869345152155703 0.000055949372012526343 28.90% 40.65% 1.41x
hexbytes_getitem_slice[slice(None,None)-palindrome] 0.00007947618900541242 0.00005640316606570417 29.03% 40.91% 1.41x
hexbytes_getitem_slice[slice(None,None)-repeated 0-9] 0.00007952055769383519 0.00005668885760059264 28.71% 40.28% 1.40x
hexbytes_getitem_slice[slice(None,None)-single 0xff] 0.00007701683069978992 0.00005480200651724163 28.84% 40.54% 1.41x
hexbytes_getitem_slice[slice(None,None)-single null byte] 0.00007738160383044066 0.00005353044044082894 30.82% 44.56% 1.45x
hexbytes_getitem_slice[slice(None,None)-two patterns] 0.00007963714541482972 0.000056807805701926976 28.67% 40.19% 1.40x
hexbytes_new[''] 0.00007296652307334663 0.0000340736663277096 53.30% 114.14% 2.14x
hexbytes_new['0x'] 0.00007780289237714314 0.00003538371371093612 54.52% 119.88% 2.20x
hexbytes_new['0x'+'00'*64] 0.00009236616763716163 0.000048736976931070866 47.24% 89.52% 1.90x
hexbytes_new['0x'+'a'*128] 0.00009278916241473496 0.000049077762552137474 47.11% 89.07% 1.89x
hexbytes_new['0x'+'ff'*32] 0.00008802432391260286 0.000045255408272035374 48.59% 94.51% 1.95x
hexbytes_new['0x1234'] 0.00008675806857062727 0.00004277347795913846 50.70% 102.83% 2.03x
hexbytes_new['0xabcdef'] 0.00008633870508887796 0.00004257528828724475 50.69% 102.79% 2.03x
hexbytes_new['0xCAFEBABE'] 0.00008569086228716883 0.00004280281655024006 50.05% 100.20% 2.00x
hexbytes_new['0xdeadbeef'] 0.0000853824081698016 0.00004325220921866722 49.34% 97.41% 1.97x
hexbytes_new['abc'] 0.00008318336934849633 0.00004502701033326305 45.87% 84.74% 1.85x
hexbytes_new['deadbeef'] 0.00007814934278994323 0.00003916869981343899 49.88% 99.52% 2.00x
hexbytes_new[0-9] 0.00004234152191163895 0.000024708223485183218 41.65% 71.37% 1.71x
hexbytes_new[0] 0.00012466076615749716 0.0000585707664080194 53.02% 112.84% 2.13x
hexbytes_new[123456] 0.00012777697290513172 0.00006280503409103053 50.85% 103.45% 2.03x
hexbytes_new[2**16] 0.00012745453379093505 0.00006291278075091609 50.64% 102.59% 2.03x
hexbytes_new[2**256-1] 0.0001302730201581289 0.00006795326953616015 47.84% 91.71% 1.92x
hexbytes_new[2**32] 0.00012994151986783802 0.00006663295737522744 48.72% 95.01% 1.95x
hexbytes_new[2**64] 0.00012927896151808258 0.00006749704570275283 47.79% 91.53% 1.92x
hexbytes_new[2**8] 0.00012641139088530705 0.000063645671849086 49.65% 98.62% 1.99x
hexbytes_new[4-byte pattern] 0.000044360059267938236 0.000025116042058704248 43.38% 76.62% 1.77x
hexbytes_new[all byte values] 0.00004418307726919521 0.00002519217125342081 42.98% 75.38% 1.75x
hexbytes_new[alternating 0x00/0xff] 0.00004337003565354596 0.00002476489942064479 42.90% 75.13% 1.75x
hexbytes_new[alternating 0xaa/0x55] 0.00004356126374303581 0.000024729349077665814 43.23% 76.15% 1.76x
hexbytes_new[ascii sentence] 0.00004253396797238636 0.000024662876008015336 42.02% 72.46% 1.72x
hexbytes_new[b''] 0.000043295451184775594 0.000024236753673002916 44.02% 78.64% 1.79x
hexbytes_new[b'\\x00'*32] 0.000043326578659829206 0.000024817599011108056 42.72% 74.58% 1.75x
hexbytes_new[b'\\x00\\xff\\x00\\xff'] 0.00004311359541897711 0.00002454354697288575 43.07% 75.66% 1.76x
hexbytes_new[b'\\x01'*100] 0.000043634701795925954 0.000024663591022716804 43.48% 76.92% 1.77x
hexbytes_new[b'\\x01'*2048] 0.000056734779746089104 0.00003704865170880162 34.70% 53.14% 1.53x
hexbytes_new[b'\\x01\\x02\\x03'] 0.0000429444074311208 0.00002438826148341414 43.21% 76.09% 1.76x
hexbytes_new[b'\\x10\\x20\\x30\\x40\\x50'] 0.00004362552070172706 0.000024689218505170728 43.41% 76.70% 1.77x
hexbytes_new[b'\\x7f'*8] 0.00004319821612556895 0.00002447876793065475 43.33% 76.47% 1.76x
hexbytes_new[b'\\x80'*8] 0.000043805958318000636 0.00002449583070268182 44.08% 78.83% 1.79x
hexbytes_new[b'\\xde\\xad\\xbe\\xef'] 0.00004331916489193225 0.00002461649171309789 43.17% 75.98% 1.76x
hexbytes_new[b'\\xff'*64] 0.000043443593124218696 0.000024714301361537847 43.11% 75.78% 1.76x
hexbytes_new[b'a'*1024] 0.000051352024357162424 0.00003267149737335051 36.38% 57.18% 1.57x
hexbytes_new[b'abc'] 0.00004331727653602325 0.00002435887218961062 43.77% 77.83% 1.78x
hexbytes_new[bytearray(0-9)] 0.0000681940509799133 0.0000349970938205295 48.68% 94.86% 1.95x
hexbytes_new[bytearray(4-byte pattern)] 0.00006883352229369363 0.000036021641791653655 47.67% 91.09% 1.91x
hexbytes_new[bytearray(all byte values)] 0.00006916158384980816 0.000036023316137040364 47.91% 91.99% 1.92x
hexbytes_new[bytearray(alternating 0x00/0xff)] 0.00006803411511738091 0.000035308177337014425 48.10% 92.69% 1.93x
hexbytes_new[bytearray(alternating 0xaa/0x55)] 0.00006834619315005931 0.00003539273265712315 48.22% 93.11% 1.93x
hexbytes_new[bytearray(ascii sentence)] 0.00006684182041782603 0.00003552917618657706 46.85% 88.13% 1.88x
hexbytes_new[bytearray(b'')] 0.00006581627217484414 0.00003319115394587527 49.57% 98.29% 1.98x
hexbytes_new[bytearray(b'\\x00'*32)] 0.00006838135507564258 0.000035210383257324724 48.51% 94.21% 1.94x
hexbytes_new[bytearray(b'\\x00\\xff\\x00\\xff')] 0.00006886837137267636 0.000035337490691786165 48.69% 94.89% 1.95x
hexbytes_new[bytearray(b'\\x01'*100)] 0.00006868882715958974 0.00003558338863903128 48.20% 93.04% 1.93x
hexbytes_new[bytearray(b'\\x01'*2048)] 0.00009054576994699029 0.00005555302398373492 38.65% 62.99% 1.63x
hexbytes_new[bytearray(b'\\x01\\x02\\x03')] 0.0000681779538620133 0.00003530141787719089 48.22% 93.13% 1.93x
hexbytes_new[bytearray(b'\\x10\\x20\\x30\\x40\\x50')] 0.00006799634989972933 0.000035369139457536366 47.98% 92.25% 1.92x
hexbytes_new[bytearray(b'\\x7f'*8)] 0.00006890065026740844 0.000035145805203722976 48.99% 96.04% 1.96x
hexbytes_new[bytearray(b'\\x80'*8)] 0.0000678114480793153 0.000035074037474515905 48.28% 93.34% 1.93x
hexbytes_new[bytearray(b'\\xde\\xad\\xbe\\xef')] 0.00006759033059396354 0.000035152727339870974 47.99% 92.28% 1.92x
hexbytes_new[bytearray(b'\\xff'*64)] 0.00006823278633346748 0.00003563966720818291 47.77% 91.45% 1.91x
hexbytes_new[bytearray(b'a'*1024)] 0.00008354731666513977 0.00004902901269480945 41.32% 70.40% 1.70x
hexbytes_new[bytearray(b'abc')] 0.00006899493435826094 0.00003541506005504335 48.67% 94.82% 1.95x
hexbytes_new[bytearray(long alternating)] 0.00008313515688819282 0.000049333607724917485 40.66% 68.52% 1.69x
hexbytes_new[bytearray(mixed pattern)] 0.00006830873123270112 0.000035265115128156495 48.37% 93.70% 1.94x
hexbytes_new[bytearray(multiples of 0x10)] 0.00006840767258430014 0.0000354482765611443 48.18% 92.98% 1.93x
hexbytes_new[bytearray(palindrome ascii)] 0.00006785558916385817 0.0000353186156902525 47.95% 92.12% 1.92x
hexbytes_new[bytearray(palindrome numeric)] 0.00006851517066137166 0.00003528727010703253 48.50% 94.16% 1.94x
hexbytes_new[bytearray(palindrome)] 0.00006844281722539751 0.00003524312429751015 48.51% 94.20% 1.94x
hexbytes_new[bytearray(repeated 0-9)] 0.00006843882460208396 0.0000355583183009992 48.04% 92.47% 1.92x
hexbytes_new[bytearray(single 0xff)] 0.0000685320824116808 0.000035540801741707714 48.14% 92.83% 1.93x
hexbytes_new[bytearray(single null byte)] 0.00006866175571511856 0.000035569467706779174 48.20% 93.04% 1.93x
hexbytes_new[bytearray(two patterns)] 0.00006836221514961906 0.00003550037799741466 48.07% 92.57% 1.93x
hexbytes_new[False] 0.00006141945820106314 0.000026177092105978094 57.38% 134.63% 2.35x
hexbytes_new[long alternating] 0.000051924013299746104 0.0000323413325947942 37.71% 60.55% 1.61x
hexbytes_new[memoryview(0-9)] 0.00008333746451395697 0.00004060984632828861 51.27% 105.21% 2.05x
hexbytes_new[memoryview(4-byte pattern)] 0.00008327678613083803 0.00004102669610051563 50.73% 102.98% 2.03x
hexbytes_new[memoryview(all byte values)] 0.0000838091958684048 0.0000413788446588608 50.63% 102.54% 2.03x
hexbytes_new[memoryview(alternating 0x00/0xff)] 0.00008375951486245034 0.00004085255149159135 51.23% 105.03% 2.05x
hexbytes_new[memoryview(alternating 0xaa/0x55)] 0.0000826762528139304 0.00004114111252694477 50.24% 100.96% 2.01x
hexbytes_new[memoryview(ascii sentence)] 0.00008347536888816412 0.00004045649845948333 51.53% 106.33% 2.06x
hexbytes_new[memoryview(b'')] 0.0000811904658574117 0.00004118650763019028 49.27% 97.13% 1.97x
hexbytes_new[memoryview(b'\\x00'*32)] 0.00008311330868503111 0.00004050303498730375 51.27% 105.20% 2.05x
hexbytes_new[memoryview(b'\\x00\\xff\\x00\\xff')] 0.00008338000068933135 0.00004051434460853102 51.41% 105.80% 2.06x
hexbytes_new[memoryview(b'\\x01'*100)] 0.00008320842945702431 0.00004192403154553967 49.62% 98.47% 1.98x
hexbytes_new[memoryview(b'\\x01'*2048)] 0.00010389785312297839 0.00006229619938051831 40.04% 66.78% 1.67x
hexbytes_new[memoryview(b'\\x01\\x02\\x03')] 0.00008327696864062548 0.00004034892031092353 51.55% 106.39% 2.06x
hexbytes_new[memoryview(b'\\x10\\x20\\x30\\x40\\x50')] 0.00008129523402059755 0.00004068206176342576 49.96% 99.83% 2.00x
hexbytes_new[memoryview(b'\\x7f'*8)] 0.00008314739003131128 0.00004076700804084834 50.97% 103.96% 2.04x
hexbytes_new[memoryview(b'\\x80'*8)] 0.00008199847955517446 0.0000402578337297313 50.90% 103.68% 2.04x
hexbytes_new[memoryview(b'\\xde\\xad\\xbe\\xef')] 0.0000830222489040838 0.00004092063143084211 50.71% 102.89% 2.03x
hexbytes_new[memoryview(b'\\xff'*64)] 0.00008306237495691807 0.00004085271860578833 50.82% 103.32% 2.03x
hexbytes_new[memoryview(b'a'*1024)] 0.00009851836601838545 0.00005630804682191622 42.85% 74.96% 1.75x
hexbytes_new[memoryview(b'abc')] 0.000082203803704248 0.00004227875810667259 48.57% 94.43% 1.94x
hexbytes_new[memoryview(long alternating)] 0.00009795680547956141 0.00005557362200415514 43.27% 76.26% 1.76x
hexbytes_new[memoryview(mixed pattern)] 0.00008430720984833607 0.000040917258088571464 51.47% 106.04% 2.06x
hexbytes_new[memoryview(multiples of 0x10)] 0.00008282228902818065 0.00004088165476675004 50.64% 102.59% 2.03x
hexbytes_new[memoryview(palindrome ascii)] 0.0000833771887820551 0.000040553748482702713 51.36% 105.60% 2.06x
hexbytes_new[memoryview(palindrome numeric)] 0.00008208694834204225 0.00004046076729828114 50.71% 102.88% 2.03x
hexbytes_new[memoryview(palindrome)] 0.00008288620173819161 0.00004052605535285339 51.11% 104.53% 2.05x
hexbytes_new[memoryview(repeated 0-9)] 0.00008360440034867222 0.000042549117130485977 49.11% 96.49% 1.96x
hexbytes_new[memoryview(single 0xff)] 0.00008297907668462366 0.0000415271784112782 49.95% 99.82% 2.00x
hexbytes_new[memoryview(single null byte)] 0.00008290915154122749 0.00004116907277064684 50.34% 101.39% 2.01x
hexbytes_new[memoryview(two patterns)] 0.00008267497930750153 0.000040782670366897176 50.67% 102.72% 2.03x
hexbytes_new[mixed pattern] 0.00004383965538257401 0.00002468192479002073 43.70% 77.62% 1.78x
hexbytes_new[multiples of 0x10] 0.00004345634285034751 0.00002457563547551756 43.45% 76.83% 1.77x
hexbytes_new[palindrome ascii] 0.000043035081597507875 0.000024583403287906665 42.88% 75.06% 1.75x
hexbytes_new[palindrome numeric] 0.000043231876003957 0.000024625703618893983 43.04% 75.56% 1.76x
hexbytes_new[palindrome] 0.00004351817449437115 0.00002460693150280666 43.46% 76.85% 1.77x
hexbytes_new[repeated 0-9] 0.00004328903074171663 0.00002490125548998562 42.48% 73.84% 1.74x
hexbytes_new[single 0xff] 0.00004297635715600336 0.000024628629986641442 42.69% 74.50% 1.74x
hexbytes_new[single null byte] 0.000043348978041788575 0.000024502814392197837 43.48% 76.91% 1.77x
hexbytes_new[True] 0.00006069595501686363 0.00002628558826284971 56.69% 130.91% 2.31x
hexbytes_new[two patterns] 0.00004346559268338325 0.000024802466690482938 42.94% 75.25% 1.75x
hexbytes_repr[0-9] 0.000032805975867563036 0.000016309540160138846 50.28% 101.15% 2.01x
hexbytes_repr[4-byte pattern] 0.00012523784541276038 0.000041523004779324 66.84% 201.61% 3.02x
hexbytes_repr[all byte values] 0.00012573861984839637 0.000041683185836567327 66.85% 201.65% 3.02x
hexbytes_repr[alternating 0x00/0xff] 0.000054404229120439794 0.00002110818787738086 61.20% 157.74% 2.58x
hexbytes_repr[alternating 0xaa/0x55] 0.00005128823544992846 0.000021043994716789293 58.97% 143.72% 2.44x
hexbytes_repr[ascii sentence] 0.000043583486589975906 0.000019039407931992475 56.32% 128.91% 2.29x
hexbytes_repr[b''] 0.00002354050168536852 0.00001341937064309154 42.99% 75.42% 1.75x
hexbytes_repr[b'\\x00'*32] 0.00003931978427014231 0.00001800718086888658 54.20% 118.36% 2.18x
hexbytes_repr[b'\\x00\\xff\\x00\\xff'] 0.000029778965150070835 0.000015109995341119459 49.26% 97.08% 1.97x
hexbytes_repr[b'\\x01'*100] 0.00006392567909514959 0.000024531803605573252 61.62% 160.58% 2.61x
hexbytes_repr[b'\\x01'*2048] 0.0007741133993672642 0.0002242604848971899 71.03% 245.18% 3.45x
hexbytes_repr[b'\\x01\\x02\\x03'] 0.000029154943123321867 0.000015310324106664654 47.49% 90.43% 1.90x
hexbytes_repr[b'\\x10\\x20\\x30\\x40\\x50'] 0.000030340444913836984 0.000015143356538496613 50.09% 100.35% 2.00x
hexbytes_repr[b'\\x7f'*8] 0.000031977520930339225 0.000016142295781740486 49.52% 98.10% 1.98x
hexbytes_repr[b'\\x80'*8] 0.00003180689299805141 0.000016014701884584798 49.65% 98.61% 1.99x
hexbytes_repr[b'\\xde\\xad\\xbe\\xef'] 0.000029584353060963057 0.000015074059674674161 49.05% 96.26% 1.96x
hexbytes_repr[b'\\xff'*64] 0.00005131023732733299 0.000021156415287750445 58.77% 142.53% 2.43x
hexbytes_repr[b'a'*1024] 0.0004081103432314965 0.00012254544575930425 69.97% 233.03% 3.33x
hexbytes_repr[b'abc'] 0.00002914429937501971 0.00001542620213219924 47.07% 88.93% 1.89x
hexbytes_repr[long alternating] 0.00040800678016018617 0.00012279358988875574 69.90% 232.27% 3.32x
hexbytes_repr[mixed pattern] 0.00010140483587399606 0.000035128540338520475 65.36% 188.67% 2.89x
hexbytes_repr[multiples of 0x10] 0.00003281720051296806 0.000016172409045428406 50.72% 102.92% 2.03x
hexbytes_repr[palindrome ascii] 0.000031563561506779715 0.000015599690640982965 50.58% 102.33% 2.02x
hexbytes_repr[palindrome numeric] 0.00003030413791218729 0.000015227186575750518 49.75% 99.01% 1.99x
hexbytes_repr[palindrome] 0.00003529260473253868 0.00001690113470316321 52.11% 108.82% 2.09x
hexbytes_repr[repeated 0-9] 0.0000638790601001325 0.000024665272084649582 61.39% 158.98% 2.59x
hexbytes_repr[single 0xff] 0.000029125831205796764 0.00001493188979165088 48.73% 95.06% 1.95x
hexbytes_repr[single null byte] 0.000029302670873961467 0.000014995496341306979 48.83% 95.41% 1.95x
hexbytes_repr[two patterns] 0.0000513342788523014 0.000021164130544356665 58.77% 142.55% 2.43x
hexbytes_to_0x_hex[0-9] 0.00001695169661882649 0.00001602025140268854 5.49% 5.81% 1.06x
hexbytes_to_0x_hex[4-byte pattern] 0.00004432282586370718 0.00004139992564647673 6.59% 7.06% 1.07x
hexbytes_to_0x_hex[all byte values] 0.00004422586165884223 0.000041471417311049876 6.23% 6.64% 1.07x
hexbytes_to_0x_hex[alternating 0x00/0xff] 0.000022207476158232847 0.00002123177555894731 4.39% 4.60% 1.05x
hexbytes_to_0x_hex[alternating 0xaa/0x55] 0.00002217058199021104 0.000021186611455011996 4.44% 4.64% 1.05x
hexbytes_to_0x_hex[ascii sentence] 0.00002048821019871945 0.00001923420389814087 6.12% 6.52% 1.07x
hexbytes_to_0x_hex[b''] 0.000011298208233719568 0.000012036357169420248 -6.53% -6.13% 0.94x
hexbytes_to_0x_hex[b'\\x00'*32] 0.000018796892933504085 0.000018242518961687974 2.95% 3.04% 1.03x
hexbytes_to_0x_hex[b'\\x00\\xff\\x00\\xff'] 0.000016118517292088356 0.000015300220712072766 5.08% 5.35% 1.05x
hexbytes_to_0x_hex[b'\\x01'*100] 0.0000260660885883229 0.00002461196284621678 5.58% 5.91% 1.06x
hexbytes_to_0x_hex[b'\\x01'*2048] 0.00022712075303606025 0.00022461711321033543 1.10% 1.11% 1.01x
hexbytes_to_0x_hex[b'\\x01\\x02\\x03'] 0.00001603491196114375 0.00001523505761368814 4.99% 5.25% 1.05x
hexbytes_to_0x_hex[b'\\x10\\x20\\x30\\x40\\x50'] 0.000016281502358773766 0.000015389194602759283 5.48% 5.80% 1.06x
hexbytes_to_0x_hex[b'\\x7f'*8] 0.000016650042482251415 0.000016181409549688887 2.81% 2.90% 1.03x
hexbytes_to_0x_hex[b'\\x80'*8] 0.00001667773236270352 0.00001589435159055832 4.70% 4.93% 1.05x
hexbytes_to_0x_hex[b'\\xde\\xad\\xbe\\xef'] 0.000016190395318431313 0.000015299827771581196 5.50% 5.82% 1.06x
hexbytes_to_0x_hex[b'\\xff'*64] 0.000022168198929990707 0.000021156423457055925 4.56% 4.78% 1.05x
hexbytes_to_0x_hex[b'a'*1024] 0.0001258466389639084 0.00012257341961982536 2.60% 2.67% 1.03x
hexbytes_to_0x_hex[b'abc'] 0.000016068315205506233 0.00001505435587994873 6.31% 6.74% 1.07x
hexbytes_to_0x_hex[long alternating] 0.000127014460577183 0.00012225669183517316 3.75% 3.89% 1.04x
hexbytes_to_0x_hex[mixed pattern] 0.00003679556556134091 0.000035342121394704566 3.95% 4.11% 1.04x
hexbytes_to_0x_hex[multiples of 0x10] 0.000016908379475490105 0.00001609611189292644 4.80% 5.05% 1.05x
hexbytes_to_0x_hex[palindrome ascii] 0.000016575219323969545 0.000015567828052331166 6.08% 6.47% 1.06x
hexbytes_to_0x_hex[palindrome numeric] 0.000016158596271632435 0.000015331897090562584 5.12% 5.39% 1.05x
hexbytes_to_0x_hex[palindrome] 0.00001786744868944324 0.000016904595583894648 5.39% 5.70% 1.06x
hexbytes_to_0x_hex[repeated 0-9] 0.000025901038433685388 0.00002469872568080647 4.64% 4.87% 1.05x
hexbytes_to_0x_hex[single 0xff] 0.000015637250357792172 0.0000151443117303928 3.15% 3.25% 1.03x
hexbytes_to_0x_hex[single null byte] 0.000015606016712162432 0.00001508159624406277 3.36% 3.48% 1.03x
hexbytes_to_0x_hex[two patterns] 0.000023277652748441468 0.000021093908315002337 9.38% 10.35% 1.10x

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