{"id":16451567,"url":"https://github.com/pauldraper/const-enum-perf","last_synced_at":"2025-08-09T04:17:24.180Z","repository":{"id":67767122,"uuid":"315145721","full_name":"pauldraper/const-enum-perf","owner":"pauldraper","description":null,"archived":false,"fork":false,"pushed_at":"2020-11-22T22:34:55.000Z","size":50,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-09T07:41:02.163Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/pauldraper.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":"2020-11-22T22:34:41.000Z","updated_at":"2020-12-02T08:12:48.000Z","dependencies_parsed_at":"2023-02-23T20:46:19.877Z","dependency_job_id":null,"html_url":"https://github.com/pauldraper/const-enum-perf","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/pauldraper%2Fconst-enum-perf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pauldraper%2Fconst-enum-perf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pauldraper%2Fconst-enum-perf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pauldraper%2Fconst-enum-perf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pauldraper","download_url":"https://codeload.github.com/pauldraper/const-enum-perf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240876861,"owners_count":19871903,"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":[],"created_at":"2024-10-11T10:09:16.362Z","updated_at":"2025-02-26T15:14:33.093Z","avatar_url":"https://github.com/pauldraper.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Const enum performance\n\nAssessing the performance of TypeScript const enum.\n\n## Run\n\n```\nyarn install\nyarn run build\nyarn run run\n```\n\nTests Chrome, Firefox, and Node.js.\n\nResults:\n\n```txt\nChrome Headless 80.0.3987.149 (Linux x86_64)\n  enum test #1: constEnum at 36582 ops/sec (1.37x faster than enum)\n  enum test #2: constEnum at 35965 ops/sec (1.34x faster than enum)\nFirefox 83.0 (Ubuntu 0.0.0)\n  enum test #1: enum at 31397 ops/sec (2.76x faster than constEnum)\n  enum test #2: enum at 33399 ops/sec (2.95x faster than constEnum)\nWebKit 537.36 (linux 0.0.0)\n  enum test #1: constEnum at 36139 ops/sec (1.20x faster than enum)\n  enum test #2: constEnum at 35046 ops/sec (1.18x faster than enum)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpauldraper%2Fconst-enum-perf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpauldraper%2Fconst-enum-perf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpauldraper%2Fconst-enum-perf/lists"}