{"id":31769239,"url":"https://github.com/second-state/wasm32-wasi-benchmark","last_synced_at":"2025-10-19T20:42:14.169Z","repository":{"id":40621650,"uuid":"271914474","full_name":"second-state/wasm32-wasi-benchmark","owner":"second-state","description":null,"archived":false,"fork":false,"pushed_at":"2021-11-16T01:05:23.000Z","size":11788,"stargazers_count":39,"open_issues_count":0,"forks_count":13,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-07T18:57:35.480Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/second-state.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-13T00:38:06.000Z","updated_at":"2025-03-27T10:09:21.000Z","dependencies_parsed_at":"2022-09-20T12:25:33.872Z","dependency_job_id":null,"html_url":"https://github.com/second-state/wasm32-wasi-benchmark","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/second-state/wasm32-wasi-benchmark","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/second-state%2Fwasm32-wasi-benchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/second-state%2Fwasm32-wasi-benchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/second-state%2Fwasm32-wasi-benchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/second-state%2Fwasm32-wasi-benchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/second-state","download_url":"https://codeload.github.com/second-state/wasm32-wasi-benchmark/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/second-state%2Fwasm32-wasi-benchmark/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002541,"owners_count":26083403,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-10T02:42:15.038Z","updated_at":"2025-10-10T02:42:18.258Z","avatar_url":"https://github.com/second-state.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wasm-benchmark\n\nwasm32-wasi benchmarks\n\nall benchmarking C/C++ source are comming from [The Computer Language Benchmarks Game](https://benchmarksgame-team.pages.debian.net/benchmarksgame/index.html).\n\n# Requirement\n\nUse the `configure.sh` to install the following dependencies for this benchmark.\nOr you can follow the installation intructions from these website to setup your working environment.\n\n* [Clang 11](https://clang.llvm.org/)\n* [LLD 11](https://lld.llvm.org/)\n* [emscripten](https://github.com/emscripten-core/emsdk)\n* [nodejs v16.1.0](https://nodejs.org/en/)\n\n# Recent Benchmark Results\n\nRuns on Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz, 5.8.0-1027-azure\n\n| compile time      | WasmEdge | lucet | WAVM  | WasmerSinglePass | WasmerCranelift | WasmerLLVM |\n| ----------------: | -------: | ----: | ----: | ---------------: | --------------: | ---------: |\n| nop               | 0.430    | 0.039 | 0.228 | 0.017            | 0.025           | 0.215      |\n| cat-sync          | 0.562    | 0.049 | 0.315 | 0.019            | 0.025           | 0.219      |\n| nbody-c           | 1.921    | 0.207 | 1.478 | 0.029            | 0.106           | 1.425      |\n| nbody-cpp         | 8.476    | 0.313 | 5.779 | 0.099            | 0.172           | 1.723      |\n| fannkuch-redux-c  | 2.415    | 0.206 | 1.468 | 0.028            | 0.106           | 1.407      |\n| mandelbrot-c      | 1.930    | 0.198 | 1.480 | 0.031            | 0.104           | 1.441      |\n| mandelbrot-simd-c | 1.941    | 0.004 | 1.500 | 0.022            | 0.115           | 1.471      |\n| binary-trees-c    | 1.908    | 0.209 | 1.372 | 0.024            | 0.090           | 1.323      |\n| fasta             | 0.496    | 0.039 | 0.279 | 0.016            | 0.021           | 0.187      |\n\n| execution time    | native        | WasmEdge      | lucet         | WAVM          | WasmerSinglePass | WasmerCranelift  | WasmerLLVM      | WasmerJIT     | node16        |\n| ----------------: | ------------: | ------------: | ------------: | ------------: | ---------------: | ---------------: | --------------: | ------------: | ------------: |\n| nop               | 0.001(0.000)  | 0.009(0.002)  | 0.010(0.012)  | 0.028(0.006)  | 0.008(0.003)     | 0.006(0.000)     | 0.006(0.001)    | 0.010(0.007)  | 0.061(0.001)  |\n| cat-sync          | 0.003(0.001)  | 0.012(0.001)  | 0.012(0.002)  | 0.030(0.001)  | 0.013(0.002)     | 0.013(0.001)     | 0.012(0.002)    | 0.015(0.006)  | 0.062(0.003)  |\n| nbody-c           | 4.409(0.030)  | 4.977(0.169)  | 7.146(0.125)  | 4.917(0.142)  | 17.572(0.318)    | 6.964(0.057)     | 5.301(0.127)    | 6.919(0.141)  | 4.253(0.054)  |\n| nbody-cpp         | 4.149(0.056)  | 4.941(0.111)  | 7.832(0.068)  | 4.362(0.046)  | 17.029(0.264)    | 7.146(0.091)     | 6.160(0.171)    | 7.425(0.154)  | 5.536(0.072)  |\n| fannkuch-redux-c  | 34.207(0.633) | 40.827(0.568) | 84.599(1.197) | 38.752(0.638) | 95.409(1.886)    | 88.059(0.460)    | 49.302(1.163)   | 88.617(1.881) | 39.999(0.905) |\n| mandelbrot-c      | 10.377(0.193) | 16.545(0.297) | failed        | 15.761(0.245) | 61.805(0.854)    | 24.382(0.409)    | 25.620(0.258)   | 24.403(0.440) | 13.921(0.271) |\n| mandelbrot-simd-c | 4.979(0.111)  | 6.510(0.061)  | failed        | 6.243(0.092)  | failed           | 7.682(0.098)     | 17.444(0.093)   | 0.007(0.001)  | 5.284(0.064)  |\n| binary-trees-c    | 21.669(0.267) | 17.418(0.414) | failed        | 19.841(0.493) | 56.769(0.505)    | 42.824(0.432)    | 19.469(0.304)   | 43.933(0.442) | 24.055(0.425) |\n| fasta-c           | 2.043(0.038)  | 2.896(0.058)  | 5.316(0.130)  | 2.230(0.043)  | 7.529(0.118)     | 7.818(0.066)     | 2.280(0.056)    | 8.049(0.057)  | 4.703(0.068)  |\n\nRuns on Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz, 5.4.0-80-generic\n\n| compile time      | WasmEdge | lucet | WAVM  | WasmerSinglePass | WasmerCranelift | WasmerLLVM |\n| ----------------: | -------: | ----: | ----: | ---------------: | --------------: | ---------: |\n| nop               | 0.199    | 0.016 | 0.114 | 0.007            | 0.010           | 0.087      |\n| cat-sync          | 0.264    | 0.017 | 0.152 | 0.007            | 0.011           | 0.087      |\n| nbody-c           | 0.501    | 0.032 | 0.313 | 0.008            | 0.027           | 0.221      |\n| nbody-cpp         | 3.525    | 0.064 | 2.476 | 0.023            | 0.047           | 0.475      |\n| fannkuch-redux-c  | 0.562    | 0.032 | 0.334 | 0.008            | 0.027           | 0.208      |\n| mandelbrot-c      | 0.505    | 0.032 | 0.309 | 0.008            | 0.026           | 0.219      |\n| mandelbrot-simd-c | 0.507    | 0.002 | 0.323 | 0.007            | 0.027           | 0.217      |\n| binary-trees-c    | 0.487    | 0.032 | 0.309 | 0.008            | 0.027           | 0.204      |\n| fasta             | 0.253    | 0.017 | 0.141 | 0.007            | 0.011           | 0.086      |\n\n| execution time    | native        | WasmEdge      | lucet         | WAVM          | WasmerSinglePass  | WasmerCranelift | WasmerLLVM    | WasmerJIT       | node16        |\n| ----------------: | ------------: | ------------: | ------------: | ------------: | ----------------: | --------------: | ------------: | --------------: | ------------: |\n| nop               | 0.000(0.000)  | 0.004(0.000)  | 0.002(0.000)  | 0.029(0.010)  | 0.003(0.000)      | 0.003(0.000)    | 0.003(0.000)  | 0.005(0.003)    | 0.026(0.000)  |\n| cat-sync          | 0.002(0.000)  | 0.006(0.000)  | 0.004(0.000)  | 0.033(0.012)  | 0.005(0.000)      | 0.005(0.000)    | 0.005(0.000)  | 0.007(0.004)    | 0.028(0.000)  |\n| nbody-c           | 2.317(0.005)  | 2.531(0.006)  | 3.768(0.003)  | 2.587(0.018)  | 9.662(0.002)      | 3.732(0.022)    | 2.537(0.002)  | 3.723(0.033)    | 2.108(0.019)  |\n| nbody-cpp         | 2.225(0.002)  | 2.560(0.023)  | 3.990(0.037)  | 2.569(0.021)  | 9.188(0.011)      | 4.016(0.002)    | 2.541(0.017)  | 4.000(0.041)    | 2.123(0.015)  |\n| fannkuch-redux-c  | 19.100(0.136) | 20.912(0.125) | 44.513(0.257) | 21.696(0.139) | 49.718(0.042)     | 26.822(0.157)   | 23.173(0.146) | 26.731(0.215)   | 20.928(0.387) |\n| mandelbrot-c      | 3.722(0.026)  | 7.587(0.018)  | failed        | 7.583(0.030)  | 25.002(0.164)     | 10.204(0.065)   | 6.922(0.056)  | 10.214(0.070)   | 6.743(0.006)  |\n| mandelbrot-simd-c | 2.537(0.020)  | 3.565(0.013)  | failed        | 3.540(0.021)  | failed            | 4.689(0.029)    | 3.975(0.035)  | 4.700(0.044)    | 2.670(0.023)  |\n| binary-trees-c    | 10.296(0.068) | 8.950(0.046)  | failed        | 9.913(0.052)  | 29.281(0.212)     | 13.462(0.141)   | 11.290(0.105) | 13.566(0.196)   | 12.432(0.116) |\n| fasta-c           | 1.110(0.007)  | 1.228(0.002)  | 2.695(0.002)  | 1.271(0.016)  | 3.639(0.031)      | 1.675(0.011)    | 1.275(0.009)  | 1.671(0.014)    | 1.762(0.014)  |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecond-state%2Fwasm32-wasi-benchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsecond-state%2Fwasm32-wasi-benchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecond-state%2Fwasm32-wasi-benchmark/lists"}