Skip to content

Migrate test fixtures to wrapper APIs#47

Open
richerfu wants to merge 1 commit into
mainfrom
codex/test-fixture-wrapper-migration
Open

Migrate test fixtures to wrapper APIs#47
richerfu wants to merge 1 commit into
mainfrom
codex/test-fixture-wrapper-migration

Conversation

@richerfu
Copy link
Copy Markdown
Contributor

No description provided.

@github-actions
Copy link
Copy Markdown

zig-napi ArkVM benchmark

  • Generated: 2026-05-28T02:50:46Z
  • Status: ZIG_NAPI_BENCHMARK_RESULT status=ok
module api content iterations native C N-API avg (us) zig-napi avg (us) diff (us) ratio
global function void(*)() 100000 0.085 0.09 0.004 1.048x
primitive i32(i32, i32) 100000 0.115 0.12 0.005 1.041x
primitive bool(bool) 100000 0.099 0.104 0.005 1.052x
string len(string) 100000 0.143 0.142 -0.002 0.988x
object read properties 100000 0.31 0.313 0.002 1.008x
array sum(number[]) 100000 0.654 0.637 -0.017 0.975x
function call callback 100000 0.25 0.263 0.013 1.052x
class constructor 20000 0.904 3.045 2.141 3.37x
class getter 100000 0.198 0.196 -0.002 0.99x
class setter 100000 0.368 0.366 -0.003 0.992x
class method 100000 0.21 0.209 -0.001 0.995x
ArrayBuffer constructor 20000 0.284 0.326 0.042 1.147x
ArrayBuffer byteLength 100000 0.144 0.146 0.002 1.013x
Buffer constructor 20000 0.888 0.739 -0.149 0.832x
Buffer length 100000 0.143 0.148 0.005 1.032x
TypedArray Uint8Array constructor 20000 0.673 0.787 0.113 1.169x
TypedArray Uint8Array sum 100000 0.175 0.214 0.039 1.221x
DataView constructor 20000 0.403 0.392 -0.011 0.973x
DataView byteLength 100000 0.142 0.189 0.047 1.328x

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