Skip to content

Update Version v0.6.0#953

Merged
tomusdrw merged 1 commit intomainfrom
version/v0.6.0
May 7, 2026
Merged

Update Version v0.6.0#953
tomusdrw merged 1 commit intomainfrom
version/v0.6.0

Conversation

@fluffylabs-bot
Copy link
Copy Markdown
Contributor

@fluffylabs-bot fluffylabs-bot Bot commented May 7, 2026

Update Version to v0.6.0

@tomusdrw tomusdrw enabled auto-merge May 7, 2026 07:11
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 7, 2026

View all
File Benchmark Ops
bytes/hex-from.ts[0] parse hex using Number with NaN checking 72429.49 ±1.21% 83.06% slower
bytes/hex-from.ts[1] parse hex from char codes 427517.46 ±0.6% fastest ✅
bytes/hex-from.ts[2] parse hex from string nibbles 251164.64 ±0.8% 41.25% slower
bytes/hex-to.ts[0] number toString + padding 82563.26 ±0.76% fastest ✅
bytes/hex-to.ts[1] manual 7184.52 ±0.67% 91.3% slower
codec/bigint.compare.ts[0] compare custom 87484824.22 ±5.45% fastest ✅
codec/bigint.compare.ts[1] compare bigint 83467741.35 ±4.47% 4.59% slower
codec/bigint.decode.ts[0] decode custom 65705045.47 ±3.15% 17.5% slower
codec/bigint.decode.ts[1] decode bigint 79639531.29 ±5.08% fastest ✅
codec/decoding.ts[0] manual decode 9062439.42 ±1.47% 85.86% slower
codec/decoding.ts[1] int32array decode 61838839.62 ±2.74% 3.55% slower
codec/decoding.ts[2] dataview decode 64112964.85 ±2.73% fastest ✅
codec/encoding.ts[0] manual encode 1272844.22 ±0.91% 16.15% slower
codec/encoding.ts[1] int32array encode 1517939.73 ±0.85% fastest ✅
codec/encoding.ts[2] dataview encode 1480503.29 ±0.7% 2.47% slower
collections/map-set.ts[0] 2 gets + conditional set 93879.29 ±1.07% fastest ✅
collections/map-set.ts[1] 1 get 1 set 63465.35 ±1.04% 32.4% slower
logger/index.ts[0] console.log with string concat 4713505.32 ±47.71% fastest ✅
logger/index.ts[1] console.log with args 983517.74 ±95.54% 79.13% slower
math/add_one_overflow.ts[0] add and take modulus 60353589.96 ±52.91% 23.8% slower
math/add_one_overflow.ts[1] condition before calculation 79208519.35 ±4.38% fastest ✅
math/count-bits-u32.ts[0] standard method 29812276.56 ±2.97% 57.89% slower
math/count-bits-u32.ts[1] magic 70800956.62 ±4.6% fastest ✅
math/count-bits-u64.ts[0] standard method 3344889.71 ±1.6% 90.87% slower
math/count-bits-u64.ts[1] magic 36627609.03 ±2.81% fastest ✅
math/mul_overflow.ts[0] multiply and bring back to u32 94780631.85 ±4.67% fastest ✅
math/mul_overflow.ts[1] multiply and take modulus 93510733.41 ±5.43% 1.34% slower
math/switch.ts[0] switch 94751365.86 ±4.67% fastest ✅
math/switch.ts[1] if 88064325.22 ±5.34% 7.06% slower
hash/index.ts[0] hash with numeric representation 63.25 ±0.93% 30.13% slower
hash/index.ts[1] hash with string representation 39.81 ±1.66% 56.03% slower
hash/index.ts[2] hash with symbol representation 61.25 ±1.17% 32.34% slower
hash/index.ts[3] hash with uint8 representation 69.07 ±2.1% 23.7% slower
hash/index.ts[4] hash with packed representation 90.53 ±2.13% fastest ✅
hash/index.ts[5] hash with bigint representation 66.53 ±1.22% 26.51% slower
hash/index.ts[6] hash with uint32 representation 84.97 ±0.87% 6.14% slower
bytes/bytes-to-number.ts[0] Conversion with bitops 3411.18 ±5.5% fastest ✅
bytes/bytes-to-number.ts[1] Conversion without bitops 2829.2 ±4.23% 17.06% slower
bytes/compare.ts[0] Comparing Uint32 bytes 10747.86 ±0.51% 0.24% slower
bytes/compare.ts[1] Comparing raw bytes 10773.91 ±0.42% fastest ✅
codec/view_vs_collection.ts[0] Get first element from Decoded 16082.26 ±0.67% 53.55% slower
codec/view_vs_collection.ts[1] Get first element from View 34624.13 ±0.85% fastest ✅
codec/view_vs_collection.ts[2] Get 50th element from Decoded 16220.67 ±0.73% 53.15% slower
codec/view_vs_collection.ts[3] Get 50th element from View 18685.15 ±0.6% 46.03% slower
codec/view_vs_collection.ts[4] Get last element from Decoded 16029.63 ±0.91% 53.7% slower
codec/view_vs_collection.ts[5] Get last element from View 12957.09 ±0.97% 62.58% slower
codec/view_vs_object.ts[0] Get the first field from Decoded 202793.45 ±0.8% 2.68% slower
codec/view_vs_object.ts[1] Get the first field from View 49334.63 ±1.4% 76.32% slower
codec/view_vs_object.ts[2] Get the first field as view from View 51004.87 ±0.67% 75.52% slower
codec/view_vs_object.ts[3] Get two fields from Decoded 208379.89 ±0.82% fastest ✅
codec/view_vs_object.ts[4] Get two fields from View 34841.27 ±4.75% 83.28% slower
codec/view_vs_object.ts[5] Get two fields from materialized from View 61239.27 ±8.67% 70.61% slower
codec/view_vs_object.ts[6] Get two fields as views from View 37916.45 ±2.6% 81.8% slower
codec/view_vs_object.ts[7] Get only third field from Decoded 192613.06 ±1.22% 7.57% slower
codec/view_vs_object.ts[8] Get only third field from View 44256.14 ±1.84% 78.76% slower
codec/view_vs_object.ts[9] Get only third field as view from View 44197.33 ±1.9% 78.79% slower
collections/map_vs_sorted.ts[0] Map 111886.53 ±1.77% fastest ✅
collections/map_vs_sorted.ts[1] Map-array 41223.62 ±1.51% 63.16% slower
collections/map_vs_sorted.ts[2] Array 49390.96 ±1.84% 55.86% slower
collections/map_vs_sorted.ts[3] SortedArray 72853.21 ±1.89% 34.89% slower
collections/hash-dict-vs-blob-dict_delete.ts[0] StringHashDictionary 2521.47 ±0.65% 0.21% slower
collections/hash-dict-vs-blob-dict_delete.ts[1] BlobDictionary(1) 2451.07 ±0.8% 3% slower
collections/hash-dict-vs-blob-dict_delete.ts[2] BlobDictionary(2) 2503.69 ±0.75% 0.91% slower
collections/hash-dict-vs-blob-dict_delete.ts[3] BlobDictionary(3) 2526.77 ±0.73% fastest ✅
collections/hash-dict-vs-blob-dict_delete.ts[4] BlobDictionary(4) 2504.03 ±1.02% 0.9% slower
collections/hash-dict-vs-blob-dict_delete.ts[5] BlobDictionary(5) 2509.67 ±0.98% 0.68% slower
collections/hash-dict-vs-blob-dict_get.ts[0] StringHashDictionary 2808.75 ±0.82% 1.38% slower
collections/hash-dict-vs-blob-dict_get.ts[1] BlobDictionary(1) 2765.05 ±0.84% 2.91% slower
collections/hash-dict-vs-blob-dict_get.ts[2] BlobDictionary(2) 2847.93 ±0.71% fastest ✅
collections/hash-dict-vs-blob-dict_get.ts[3] BlobDictionary(3) 2836.42 ±0.68% 0.4% slower
collections/hash-dict-vs-blob-dict_get.ts[4] BlobDictionary(4) 2791.99 ±1.39% 1.96% slower
collections/hash-dict-vs-blob-dict_get.ts[5] BlobDictionary(5) 2776.18 ±0.7% 2.52% slower
collections/hash-dict-vs-blob-dict_set.ts[0] StringHashDictionary 2176.26 ±0.69% fastest ✅
collections/hash-dict-vs-blob-dict_set.ts[1] BlobDictionary(1) 2010.8 ±3.56% 7.6% slower
collections/hash-dict-vs-blob-dict_set.ts[2] BlobDictionary(2) 1595.52 ±7.77% 26.69% slower
collections/hash-dict-vs-blob-dict_set.ts[3] BlobDictionary(3) 1769.34 ±7.22% 18.7% slower
collections/hash-dict-vs-blob-dict_set.ts[4] BlobDictionary(4) 1975.83 ±1.94% 9.21% slower
collections/hash-dict-vs-blob-dict_set.ts[5] BlobDictionary(5) 2050.44 ±1.83% 5.78% slower
hash/blake2b.ts[0] our hasher 0.98 ±1.58% fastest ✅
hash/blake2b.ts[1] blake2b js 0.03 ±2.71% 96.94% slower
crypto/ed25519.ts[0] native crypto 4.58 ±7.57% fastest ✅
crypto/ed25519.ts[1] wasm lib 2.35 ±9.37% 48.69% slower
crypto/ed25519.ts[2] wasm lib batch 2.33 ±10.02% 49.13% slower

Benchmarks summary: 83/83 OK ✅

@tomusdrw tomusdrw disabled auto-merge May 7, 2026 07:54
@tomusdrw tomusdrw enabled auto-merge May 7, 2026 07:54
@tomusdrw tomusdrw added this pull request to the merge queue May 7, 2026
Merged via the queue into main with commit b305686 May 7, 2026
13 checks passed
@tomusdrw tomusdrw deleted the version/v0.6.0 branch May 7, 2026 07:59
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