Skip to content

Migrate test fixtures to wrapper APIs#47

Merged
richerfu merged 2 commits into
mainfrom
codex/test-fixture-wrapper-migration
Jun 26, 2026
Merged

Migrate test fixtures to wrapper APIs#47
richerfu merged 2 commits into
mainfrom
codex/test-fixture-wrapper-migration

Conversation

@richerfu

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions

github-actions Bot commented May 28, 2026

Copy link
Copy Markdown

zig-napi ArkVM benchmark

  • Generated: 2026-06-26T01:37:16Z
  • 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.097 0.098 0.002 1.016x
primitive i32(i32, i32) 100000 0.127 0.125 -0.002 0.985x
primitive bool(bool) 100000 0.114 0.112 -0.002 0.98x
string len(string) 100000 0.144 0.145 0.001 1.01x
object read properties 100000 0.283 0.281 -0.001 0.996x
array sum(number[]) 100000 0.63 0.627 -0.002 0.996x
function call callback 100000 0.236 0.242 0.006 1.025x
class constructor 20000 0.942 5.102 4.159 5.414x
class getter 100000 0.184 0.185 0 1.001x
class setter 100000 0.344 0.343 -0.001 0.998x
class method 100000 0.195 0.196 0.001 1.006x
ArrayBuffer constructor 20000 0.277 0.356 0.079 1.287x
ArrayBuffer byteLength 100000 0.143 0.144 0.001 1.01x
Buffer constructor 20000 0.905 0.73 -0.175 0.806x
Buffer length 100000 0.145 0.145 0 0.997x
TypedArray Uint8Array constructor 20000 0.684 0.853 0.169 1.247x
TypedArray Uint8Array sum 100000 0.167 0.206 0.039 1.232x
DataView constructor 20000 0.381 0.402 0.021 1.055x
DataView byteLength 100000 0.146 0.185 0.039 1.268x

@richerfu
richerfu merged commit d45e4e1 into main Jun 26, 2026
23 checks passed
@richerfu
richerfu deleted the codex/test-fixture-wrapper-migration branch June 26, 2026 01:46
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