{"id":16095908,"url":"https://github.com/joakin/js-data-oriented-benchmark","last_synced_at":"2025-04-05T20:15:55.102Z","repository":{"id":141453877,"uuid":"241102493","full_name":"joakin/js-data-oriented-benchmark","owner":"joakin","description":"Benchmark to see if data oriented design in JS can pay off","archived":false,"fork":false,"pushed_at":"2020-02-17T12:29:52.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-18T19:55:38.321Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/joakin.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-02-17T12:29:36.000Z","updated_at":"2020-02-17T12:29:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"80222957-1492-4693-b53e-ce5ca9c270e7","html_url":"https://github.com/joakin/js-data-oriented-benchmark","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"b63f081d45aef26e69a27dd7f6a832188afab630"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joakin%2Fjs-data-oriented-benchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joakin%2Fjs-data-oriented-benchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joakin%2Fjs-data-oriented-benchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joakin%2Fjs-data-oriented-benchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joakin","download_url":"https://codeload.github.com/joakin/js-data-oriented-benchmark/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247393573,"owners_count":20931813,"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-09T17:09:31.898Z","updated_at":"2025-04-05T20:15:55.075Z","avatar_url":"https://github.com/joakin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Benchmark to see if data oriented design in JS can pay off\n\nHow to run:\n\n    npm install\n    NODE_ENV=production node index.js\n\nSome runs on my laptop:\n\n```\njs-data-oriented-benchmark → NODE_ENV=production node index.js\ntyped array x 409 ops/sec ±1.13% (82 runs sampled)\narray x 402 ops/sec ±1.06% (81 runs sampled)\nstructure of array x 430 ops/sec ±0.92% (80 runs sampled)\narray of structure x 390 ops/sec ±0.56% (83 runs sampled)\nFastest is structure of array\njs-data-oriented-benchmark → NODE_ENV=production node index.js\ntyped array x 404 ops/sec ±0.82% (80 runs sampled)\narray x 404 ops/sec ±0.90% (79 runs sampled)\narray of structure x 392 ops/sec ±1.10% (84 runs sampled)\nstructure of array x 403 ops/sec ±0.96% (81 runs sampled)\nFastest is array,typed array,structure of array\njs-data-oriented-benchmark → NODE_ENV=production node index.js\ntyped array x 431 ops/sec ±0.56% (83 runs sampled)\narray x 452 ops/sec ±0.25% (85 runs sampled)\narray of structure x 394 ops/sec ±1.17% (84 runs sampled)\nstructure of array x 403 ops/sec ±1.04% (82 runs sampled)\nFastest is array\njs-data-oriented-benchmark → NODE_ENV=production node index.js\ntyped array x 421 ops/sec ±1.10% (83 runs sampled)\narray x 435 ops/sec ±1.09% (83 runs sampled)\narray of structure x 384 ops/sec ±1.15% (83 runs sampled)\nstructure of array x 411 ops/sec ±0.48% (84 runs sampled)\nFastest is array\n```\n🤷‍♂️\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoakin%2Fjs-data-oriented-benchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoakin%2Fjs-data-oriented-benchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoakin%2Fjs-data-oriented-benchmark/lists"}