Skip to content

Add Result type#41

Merged
richerfu merged 1 commit into
mainfrom
feat-support-result
May 27, 2026
Merged

Add Result type#41
richerfu merged 1 commit into
mainfrom
feat-support-result

Conversation

@richerfu

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions

Copy link
Copy Markdown

zig-napi ArkVM benchmark

  • Generated: 2026-05-26T09:52:33Z
  • 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.074 0.075 0.001 1.014x
primitive i32(i32, i32) 100000 0.096 0.097 0.001 1.011x
primitive bool(bool) 100000 0.085 0.088 0.003 1.04x
string len(string) 100000 0.112 0.114 0.003 1.023x
object read properties 100000 0.221 0.217 -0.004 0.983x
array sum(number[]) 100000 0.484 0.49 0.005 1.011x
function call callback 100000 0.176 0.184 0.009 1.049x
class constructor 20000 0.739 3.954 3.215 5.351x
class getter 100000 0.143 0.142 -0.001 0.991x
class setter 100000 0.268 0.266 -0.002 0.993x
class method 100000 0.152 0.152 0 1x
ArrayBuffer constructor 20000 0.214 0.264 0.05 1.235x
ArrayBuffer byteLength 100000 0.11 0.112 0.002 1.015x
Buffer constructor 20000 0.707 0.564 -0.143 0.798x
Buffer length 100000 0.113 0.114 0.001 1.009x
TypedArray Uint8Array constructor 20000 0.528 0.671 0.143 1.272x
TypedArray Uint8Array sum 100000 0.129 0.158 0.029 1.226x
DataView constructor 20000 0.298 0.3 0.002 1.007x
DataView byteLength 100000 0.109 0.142 0.032 1.296x

@richerfu richerfu merged commit 3558afb into main May 27, 2026
23 checks passed
@richerfu richerfu deleted the feat-support-result branch May 27, 2026 01:29
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