{"id":16662181,"url":"https://github.com/gorhill/obj-vs-set-vs-map","last_synced_at":"2026-03-15T08:49:08.405Z","repository":{"id":139929208,"uuid":"67372843","full_name":"gorhill/obj-vs-set-vs-map","owner":"gorhill","description":"Just a benchmark to measure performance of Set(), Map() versus Object.create(null)","archived":false,"fork":false,"pushed_at":"2017-11-05T16:28:44.000Z","size":638,"stargazers_count":15,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-13T14:46:36.486Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gorhill.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2016-09-04T23:09:13.000Z","updated_at":"2025-03-26T10:08:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"249103c1-e178-42fa-9bf7-9cc98198cbcb","html_url":"https://github.com/gorhill/obj-vs-set-vs-map","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gorhill/obj-vs-set-vs-map","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gorhill%2Fobj-vs-set-vs-map","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gorhill%2Fobj-vs-set-vs-map/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gorhill%2Fobj-vs-set-vs-map/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gorhill%2Fobj-vs-set-vs-map/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gorhill","download_url":"https://codeload.github.com/gorhill/obj-vs-set-vs-map/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gorhill%2Fobj-vs-set-vs-map/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30539324,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-15T07:17:37.589Z","status":"ssl_error","status_checked_at":"2026-03-15T07:17:31.738Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2024-10-12T10:37:13.097Z","updated_at":"2026-03-15T08:49:08.389Z","avatar_url":"https://github.com/gorhill.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# obj-vs-set-vs-map\nJust a benchmark to measure performance of `Set()`, `Map()` versus `Object.create(null)`.\n\nRun the benchmark for your current browser: \u003chttps://gorhill.github.io/obj-vs-set-vs-map/\u003e.\n\n### Example of results\n\nChromium v51:\n\n- Adding items:\n    - `Obj set() x 27.38 ops/sec ±6.75% (50 runs sampled)`\n    - `Set set() x 83.31 ops/sec ±3.47% (70 runs sampled)`\n    - `Map set() x 68.24 ops/sec ±3.12% (69 runs sampled)`\n- Looking up items (80% misses):\n    - `Obj get() x 10,516 ops/sec ±0.30% (93 runs sampled)`\n    - `Set get() x 17,429 ops/sec ±0.51% (94 runs sampled)`\n    - `Map get() x 15,462 ops/sec ±0.35% (96 runs sampled)`\n  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgorhill%2Fobj-vs-set-vs-map","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgorhill%2Fobj-vs-set-vs-map","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgorhill%2Fobj-vs-set-vs-map/lists"}