Skip to content

Update Version v0.5.11#947

Merged
tomusdrw merged 1 commit into
mainfrom
version/v0.5.11
Apr 21, 2026
Merged

Update Version v0.5.11#947
tomusdrw merged 1 commit into
mainfrom
version/v0.5.11

Conversation

@fluffylabs-bot
Copy link
Copy Markdown
Contributor

Update Version to v0.5.11

@tomusdrw tomusdrw enabled auto-merge April 21, 2026 09:34
@github-actions
Copy link
Copy Markdown

View all
File Benchmark Ops
bytes/hex-from.ts[0] parse hex using Number with NaN checking 67163.51 ±0.72% 84.95% slower
bytes/hex-from.ts[1] parse hex from char codes 446127.29 ±0.39% fastest ✅
bytes/hex-from.ts[2] parse hex from string nibbles 250320.11 ±0.41% 43.89% slower
bytes/hex-to.ts[0] number toString + padding 89014.21 ±1.31% fastest ✅
bytes/hex-to.ts[1] manual 7447.61 ±0.64% 91.63% slower
codec/bigint.compare.ts[0] compare custom 89255536.18 ±6.15% 6.07% slower
codec/bigint.compare.ts[1] compare bigint 95026693.98 ±4.68% fastest ✅
codec/bigint.decode.ts[0] decode custom 67182332.66 ±3.66% 25.65% slower
codec/bigint.decode.ts[1] decode bigint 90359760.64 ±4.86% fastest ✅
codec/decoding.ts[0] manual decode 9747900.54 ±1.14% 85.27% slower
codec/decoding.ts[1] int32array decode 64594705.34 ±3.03% 2.41% slower
codec/decoding.ts[2] dataview decode 66187416.03 ±4.02% fastest ✅
codec/encoding.ts[0] manual encode 1091439.59 ±0.39% 13.4% slower
codec/encoding.ts[1] int32array encode 1260287.31 ±0.3% fastest ✅
codec/encoding.ts[2] dataview encode 1190163.88 ±1.19% 5.56% slower
collections/map-set.ts[0] 2 gets + conditional set 68011.39 ±1.16% fastest ✅
collections/map-set.ts[1] 1 get 1 set 47580.11 ±0.2% 30.04% slower
logger/index.ts[0] console.log with string concat 4872367.84 ±43.49% fastest ✅
logger/index.ts[1] console.log with args 1322728.2 ±81.12% 72.85% slower
math/add_one_overflow.ts[0] add and take modulus 89943613.14 ±5.21% 6.69% slower
math/add_one_overflow.ts[1] condition before calculation 96392946.56 ±6.08% fastest ✅
math/count-bits-u32.ts[0] standard method 38760231.9 ±1.79% 54.61% slower
math/count-bits-u32.ts[1] magic 85385972.7 ±4.05% fastest ✅
math/count-bits-u64.ts[0] standard method 4820116.62 ±0.64% 82.12% slower
math/count-bits-u64.ts[1] magic 26959799.26 ±1.08% fastest ✅
math/mul_overflow.ts[0] multiply and bring back to u32 92204082.03 ±5.76% 4.52% slower
math/mul_overflow.ts[1] multiply and take modulus 96572641.09 ±5.26% fastest ✅
math/switch.ts[0] switch 85281704.15 ±6.55% 8.82% slower
math/switch.ts[1] if 93533510.45 ±6.09% fastest ✅
hash/index.ts[0] hash with numeric representation 68.58 ±0.29% 30.69% slower
hash/index.ts[1] hash with string representation 45.06 ±1% 54.46% slower
hash/index.ts[2] hash with symbol representation 67.01 ±0.07% 32.27% slower
hash/index.ts[3] hash with uint8 representation 76.93 ±0.16% 22.25% slower
hash/index.ts[4] hash with packed representation 98.94 ±0.09% fastest ✅
hash/index.ts[5] hash with bigint representation 72.96 ±0.37% 26.26% slower
hash/index.ts[6] hash with uint32 representation 93.3 ±0.22% 5.7% slower
bytes/bytes-to-number.ts[0] Conversion with bitops 3322.08 ±6.04% fastest ✅
bytes/bytes-to-number.ts[1] Conversion without bitops 2612.72 ±3.81% 21.35% slower
bytes/compare.ts[0] Comparing Uint32 bytes 11235.22 ±0.1% fastest ✅
bytes/compare.ts[1] Comparing raw bytes 10576.76 ±0.39% 5.86% slower
codec/view_vs_collection.ts[0] Get first element from Decoded 15024.56 ±0.74% 53.82% slower
codec/view_vs_collection.ts[1] Get first element from View 32535.92 ±1.71% fastest ✅
codec/view_vs_collection.ts[2] Get 50th element from Decoded 14280.25 ±3.33% 56.11% slower
codec/view_vs_collection.ts[3] Get 50th element from View 17562.88 ±0.55% 46.02% slower
codec/view_vs_collection.ts[4] Get last element from Decoded 15270.89 ±0.31% 53.06% slower
codec/view_vs_collection.ts[5] Get last element from View 12226.94 ±0.28% 62.42% slower
codec/view_vs_object.ts[0] Get the first field from Decoded 201636.94 ±0.61% fastest ✅
codec/view_vs_object.ts[1] Get the first field from View 51032.85 ±0.34% 74.69% slower
codec/view_vs_object.ts[2] Get the first field as view from View 50916.91 ±0.36% 74.75% slower
codec/view_vs_object.ts[3] Get two fields from Decoded 201206.26 ±0.56% 0.21% slower
codec/view_vs_object.ts[4] Get two fields from View 23553.65 ±80.8% 88.32% slower
codec/view_vs_object.ts[5] Get two fields from materialized from View 81468.42 ±0.38% 59.6% slower
codec/view_vs_object.ts[6] Get two fields as views from View 40755.61 ±0.32% 79.79% slower
codec/view_vs_object.ts[7] Get only third field from Decoded 198971.36 ±2.51% 1.32% slower
codec/view_vs_object.ts[8] Get only third field from View 50374.98 ±0.34% 75.02% slower
codec/view_vs_object.ts[9] Get only third field as view from View 50581.16 ±0.38% 74.91% slower
collections/map_vs_sorted.ts[0] Map 126337.05 ±0.31% fastest ✅
collections/map_vs_sorted.ts[1] Map-array 47403.21 ±0.24% 62.48% slower
collections/map_vs_sorted.ts[2] Array 54277.66 ±0.22% 57.04% slower
collections/map_vs_sorted.ts[3] SortedArray 83427.21 ±0.35% 33.96% slower
collections/hash-dict-vs-blob-dict_delete.ts[0] StringHashDictionary 2641.83 ±0.35% fastest ✅
collections/hash-dict-vs-blob-dict_delete.ts[1] BlobDictionary(1) 2635.86 ±0.31% 0.23% slower
collections/hash-dict-vs-blob-dict_delete.ts[2] BlobDictionary(2) 2561.69 ±1.44% 3.03% slower
collections/hash-dict-vs-blob-dict_delete.ts[3] BlobDictionary(3) 2617 ±0.76% 0.94% slower
collections/hash-dict-vs-blob-dict_delete.ts[4] BlobDictionary(4) 2615.86 ±0.37% 0.98% slower
collections/hash-dict-vs-blob-dict_delete.ts[5] BlobDictionary(5) 2636.49 ±0.41% 0.2% slower
collections/hash-dict-vs-blob-dict_get.ts[0] StringHashDictionary 2917.37 ±0.36% 0.39% slower
collections/hash-dict-vs-blob-dict_get.ts[1] BlobDictionary(1) 2836.95 ±1.18% 3.13% slower
collections/hash-dict-vs-blob-dict_get.ts[2] BlobDictionary(2) 2919.87 ±0.36% 0.3% slower
collections/hash-dict-vs-blob-dict_get.ts[3] BlobDictionary(3) 2911.32 ±0.41% 0.59% slower
collections/hash-dict-vs-blob-dict_get.ts[4] BlobDictionary(4) 2921.84 ±0.35% 0.23% slower
collections/hash-dict-vs-blob-dict_get.ts[5] BlobDictionary(5) 2928.67 ±0.33% fastest ✅
collections/hash-dict-vs-blob-dict_set.ts[0] StringHashDictionary 2259.77 ±1.72% 2.75% slower
collections/hash-dict-vs-blob-dict_set.ts[1] BlobDictionary(1) 2323.68 ±0.31% fastest ✅
collections/hash-dict-vs-blob-dict_set.ts[2] BlobDictionary(2) 2293.08 ±0.53% 1.32% slower
collections/hash-dict-vs-blob-dict_set.ts[3] BlobDictionary(3) 2303.68 ±0.38% 0.86% slower
collections/hash-dict-vs-blob-dict_set.ts[4] BlobDictionary(4) 1342.06 ±80.61% 42.24% slower
collections/hash-dict-vs-blob-dict_set.ts[5] BlobDictionary(5) 2315.83 ±0.36% 0.34% slower
hash/blake2b.ts[0] our hasher 1.08 ±0.85% fastest ✅
hash/blake2b.ts[1] blake2b js 0.03 ±0.48% 97.22% slower
crypto/ed25519.ts[0] native crypto 5.76 ±1.02% fastest ✅
crypto/ed25519.ts[1] wasm lib 2.26 ±0.47% 60.76% slower
crypto/ed25519.ts[2] wasm lib batch 2.23 ±0.37% 61.28% slower

Benchmarks summary: 83/83 OK ✅

@tomusdrw tomusdrw added this pull request to the merge queue Apr 21, 2026
Merged via the queue into main with commit 10b197e Apr 21, 2026
13 checks passed
@tomusdrw tomusdrw deleted the version/v0.5.11 branch April 21, 2026 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant