{"id":16866424,"url":"https://github.com/maxgraey/assemblyscript-compiler-bench","last_synced_at":"2026-05-11T09:22:37.240Z","repository":{"id":66215579,"uuid":"176274784","full_name":"MaxGraey/assemblyscript-compiler-bench","owner":"MaxGraey","description":"AssemblyScript and Rust compile benchmark inspired by V (vlang) ;-)","archived":false,"fork":false,"pushed_at":"2020-03-08T03:04:16.000Z","size":1550,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-24T21:14:04.009Z","etag":null,"topics":["assemblyscript","bench","rust","vlang"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/MaxGraey.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-18T12:03:21.000Z","updated_at":"2023-02-12T05:14:28.000Z","dependencies_parsed_at":"2023-02-25T02:15:19.040Z","dependency_job_id":null,"html_url":"https://github.com/MaxGraey/assemblyscript-compiler-bench","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxGraey%2Fassemblyscript-compiler-bench","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxGraey%2Fassemblyscript-compiler-bench/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxGraey%2Fassemblyscript-compiler-bench/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxGraey%2Fassemblyscript-compiler-bench/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MaxGraey","download_url":"https://codeload.github.com/MaxGraey/assemblyscript-compiler-bench/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244272592,"owners_count":20426760,"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","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":["assemblyscript","bench","rust","vlang"],"created_at":"2024-10-13T14:50:34.067Z","updated_at":"2026-05-11T09:22:37.210Z","avatar_url":"https://github.com/MaxGraey.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"Benchmarks inspired by [\"V\" language](https://github.com/vlang/v/blob/e2a19cccd013cd1f35daa7eb9a89037d22ff8a93/website/compilation_speed_test_gen.v#L69)\n\n### Build / Run bench\n\n```sh\nyarn bench-as  # or `npm run bench-as`\nyarn bench-rs  # or `npm run bench-rs`\n```\n\n`yarn bench-as` build unoptimized `wasm` file from 400,000 lines of typescripty code\n`yarn bench-rs` compile to native binary file from 400,000 lines of rust code\n\n### Results (AssemblyScript) (2020-02-10)\n\n15-inch MacBook 2019 (2,3 GHz Intel Core i9)\n\n```\nI/O Read  : 8.950 ms\nI/O Write : 2.959 ms\nParse     : 1794.794 ms\nCompile   : 930.801 ms\nEmit      : 414.083 ms\nValidate  : N/A\nOptimize  : 0.805 ms\n\nreal  0m4.195s\nuser  0m6.039s\nsys   0m0.861s\n✨  Done in 4.23s.\n```\n\n### Results (Rust) (rustc 1.43.0-nightly (75cf41afb 2020-03-04))\n\n* Fixed version which avoid `println!` macro in every line\n\n```\nreal  4m28.044s\nuser  2m10.426s\nsys   1m47.404s\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxgraey%2Fassemblyscript-compiler-bench","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxgraey%2Fassemblyscript-compiler-bench","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxgraey%2Fassemblyscript-compiler-bench/lists"}