Skip to content

Conversation

@github-actions
Copy link

@github-actions github-actions bot commented Nov 4, 2025

Update Test Vectors Reference

This PR updates the test vectors reference from 7053b4e242f15b93954eb4b98f978bb125e1ea3a to 49835bae9bafe1be63d91e38c826a6d4f3edbd44.

Changes:

Latest commit: FluffyLabs/test-vectors@49835ba

🤖 This PR was created automatically by the update-test-vectors workflow.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 4, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions bot force-pushed the update-test-vectors/49835bae9bafe1be63d91e38c826a6d4f3edbd44 branch from 198e218 to 5513974 Compare November 5, 2025 09:07
@github-actions github-actions bot force-pushed the update-test-vectors/49835bae9bafe1be63d91e38c826a6d4f3edbd44 branch from 5513974 to 9164b4a Compare November 7, 2025 09:07
@tomusdrw tomusdrw closed this Nov 10, 2025
@github-actions
Copy link
Author

View all
File Benchmark Ops
bytes/hex-from.ts[0] parse hex using Number with NaN checking 123515.12 ±1.35% 83.27% slower
bytes/hex-from.ts[1] parse hex from char codes 738122.7 ±2.53% fastest ✅
bytes/hex-from.ts[2] parse hex from string nibbles 458919.61 ±2.48% 37.83% slower
math/mul_overflow.ts[0] multiply and bring back to u32 223811421.1 ±7.76% 7.55% slower
math/mul_overflow.ts[1] multiply and take modulus 242091817.93 ±6.32% fastest ✅
bytes/hex-to.ts[0] number toString + padding 276324.73 ±1.5% fastest ✅
bytes/hex-to.ts[1] manual 15486.93 ±0.87% 94.4% slower
codec/bigint.compare.ts[0] compare custom 203382957.19 ±9.83% 14.42% slower
codec/bigint.compare.ts[1] compare bigint 237666063.08 ±6.34% fastest ✅
codec/bigint.decode.ts[0] decode custom 159263496.47 ±4% fastest ✅
codec/bigint.decode.ts[1] decode bigint 96095394.11 ±2.74% 39.66% slower
collections/map-set.ts[0] 2 gets + conditional set 112898.45 ±0.88% fastest ✅
collections/map-set.ts[1] 1 get 1 set 56942.35 ±0.96% 49.56% slower
hash/index.ts[0] hash with numeric representation 171.13 ±1.33% 30.47% slower
hash/index.ts[1] hash with string representation 98.88 ±2.73% 59.83% slower
hash/index.ts[2] hash with symbol representation 167.57 ±1.25% 31.92% slower
hash/index.ts[3] hash with uint8 representation 152.41 ±1% 38.08% slower
hash/index.ts[4] hash with packed representation 246.13 ±1.05% fastest ✅
hash/index.ts[5] hash with bigint representation 178.1 ±1.09% 27.64% slower
hash/index.ts[6] hash with uint32 representation 188.82 ±1.31% 23.28% slower
math/count-bits-u32.ts[0] standard method 81446305.79 ±2.48% 53.36% slower
math/count-bits-u32.ts[1] magic 174639400.34 ±11.38% fastest ✅
math/count-bits-u64.ts[0] standard method 1528525.68 ±1.45% 83.13% slower
math/count-bits-u64.ts[1] magic 9058069.94 ±2.83% fastest ✅
math/switch.ts[0] switch 214208599.14 ±8.83% 5.63% slower
math/switch.ts[1] if 226996790.47 ±6.21% fastest ✅
math/add_one_overflow.ts[0] add and take modulus 240787285.2 ±5.8% fastest ✅
math/add_one_overflow.ts[1] condition before calculation 217019924.56 ±9.21% 9.87% slower
codec/decoding.ts[0] manual decode 21795372.23 ±1.49% 84.93% slower
codec/decoding.ts[1] int32array decode 144614403.02 ±4.41% fastest ✅
codec/decoding.ts[2] dataview decode 138176934.72 ±3.19% 4.45% slower
codec/encoding.ts[0] manual encode 2870491.28 ±0.93% 18.39% slower
codec/encoding.ts[1] int32array encode 3454034.11 ±1.06% 1.8% slower
codec/encoding.ts[2] dataview encode 3517172.29 ±0.8% fastest ✅
logger/index.ts[0] console.log with string concat 7648931.94 ±35.03% fastest ✅
logger/index.ts[1] console.log with args 859829.4 ±95.16% 88.76% slower
codec/view_vs_collection.ts[0] Get first element from Decoded 20714.61 ±6.11% 56.56% slower
codec/view_vs_collection.ts[1] Get first element from View 47689.53 ±1.16% fastest ✅
codec/view_vs_collection.ts[2] Get 50th element from Decoded 20905.84 ±1.3% 56.16% slower
codec/view_vs_collection.ts[3] Get 50th element from View 21859.6 ±2.62% 54.16% slower
codec/view_vs_collection.ts[4] Get last element from Decoded 20516.6 ±1.31% 56.98% slower
codec/view_vs_collection.ts[5] Get last element from View 15407.64 ±2.29% 67.69% slower
codec/view_vs_object.ts[0] Get the first field from Decoded 372846.59 ±0.97% 10.27% slower
codec/view_vs_object.ts[1] Get the first field from View 78049.19 ±0.87% 81.22% slower
codec/view_vs_object.ts[2] Get the first field as view from View 79393.89 ±0.86% 80.89% slower
codec/view_vs_object.ts[3] Get two fields from Decoded 379824.96 ±0.55% 8.59% slower
codec/view_vs_object.ts[4] Get two fields from View 63626.63 ±0.75% 84.69% slower
codec/view_vs_object.ts[5] Get two fields from materialized from View 152342.67 ±1.99% 63.34% slower
codec/view_vs_object.ts[6] Get two fields as views from View 71977.98 ±2.33% 82.68% slower
codec/view_vs_object.ts[7] Get only third field from Decoded 415524.84 ±4.81% fastest ✅
codec/view_vs_object.ts[8] Get only third field from View 96456.5 ±1.49% 76.79% slower
codec/view_vs_object.ts[9] Get only third field as view from View 99744.21 ±1.25% 76% slower
bytes/compare.ts[0] Comparing Uint32 bytes 21161.8 ±0.24% 1.95% slower
bytes/compare.ts[1] Comparing raw bytes 21582.16 ±0.65% fastest ✅
collections/map_vs_sorted.ts[0] Map 220088.16 ±0.56% fastest ✅
collections/map_vs_sorted.ts[1] Map-array 101981.15 ±0.27% 53.66% slower
collections/map_vs_sorted.ts[2] Array 63478.24 ±2.08% 71.16% slower
collections/map_vs_sorted.ts[3] SortedArray 196302.71 ±0.43% 10.81% slower
hash/blake2b.ts[0] our hasher 2.14 ±1.51% fastest ✅
hash/blake2b.ts[1] blake2b js 0.04 ±2.8% 98.13% slower
crypto/ed25519.ts[0] native crypto 4.2 ±19.19% 84.89% slower
crypto/ed25519.ts[1] wasm lib 9.77 ±1.84% 64.84% slower
crypto/ed25519.ts[2] wasm lib batch 27.79 ±1.98% fastest ✅

Benchmarks summary: 63/63 OK ✅

@tomusdrw tomusdrw deleted the update-test-vectors/49835bae9bafe1be63d91e38c826a6d4f3edbd44 branch November 10, 2025 20:17
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.

3 participants