{"id":23843765,"url":"https://github.com/ngduc/dev-benchmark","last_synced_at":"2025-09-07T19:32:11.092Z","repository":{"id":147916140,"uuid":"325472306","full_name":"ngduc/dev-benchmark","owner":"ngduc","description":"Benchmark script to measure performance of usual development tools.","archived":false,"fork":false,"pushed_at":"2023-10-31T20:49:04.000Z","size":27,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2023-10-31T21:32:35.617Z","etag":null,"topics":["benchmark","performance","script","server","webdevelopment"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ngduc.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}},"created_at":"2020-12-30T06:22:15.000Z","updated_at":"2023-09-18T13:30:30.000Z","dependencies_parsed_at":"2023-05-27T22:30:30.091Z","dependency_job_id":"9e2d3aa3-9488-4b97-84d4-26d22b85cdd6","html_url":"https://github.com/ngduc/dev-benchmark","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngduc%2Fdev-benchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngduc%2Fdev-benchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngduc%2Fdev-benchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngduc%2Fdev-benchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ngduc","download_url":"https://codeload.github.com/ngduc/dev-benchmark/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232250733,"owners_count":18494772,"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":["benchmark","performance","script","server","webdevelopment"],"created_at":"2025-01-02T19:50:59.765Z","updated_at":"2025-01-02T19:51:00.398Z","avatar_url":"https://github.com/ngduc.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dev-benchmark\n\nBenchmark script to measure performance of development tools.\n\nMotivation: Recently I realized that I own multiple computers. I wanted to know which one can run my web development tools faster and more efficiently. So, I created this simple script to benchmark them by running my regular real-world tools like: CRA, express generator etc. and measure the time.\n\n### How does it work?\n\n- [The run.sh script](./run.sh) will generate a CRA webapp (benchmark1) and an Express-NodeJS app (benchmark2).\n- Then it will run usual npm commands like: npm run build, npm run test and measure the time (in seconds).\n- Results will be added to this README.md file. (run git status to see the changes)\n\nCreate a Pull Request to add results of your computer performance.\n\n### Usage\n\n- Node JS v15+\n- Tested with Ubuntu, Debian, MacOS, Windows (with Cygwin).\n\n```\n- Clone and Run:\ngit clone https://github.com/ngduc/dev-benchmark.git\ncd dev-benchmark\nsh run.sh \"Brand Model - OS - CPU - RAM - HDD - Node version\"\n\nTips:\n- Run \"sh run.sh\" twice to get more accurate results. (due to npm caches)\n- Close all background apps, remote access apps. Plug in the charger if using a laptop.\n```\n\n## Results\n\n- After running the script (run it twice for accurate results), the benchmark results (in seconds) will be added to this README.md file.\n- Create a Pull Request to add your results here.\n\n[Results.csv](./results.csv)\n\n## Results - Legacy\n\n### HP 17z-ca300 - Windows 11 WSL2 Ubuntu - AMD Ryzen 5 4500U - 16 GB DDR4-2666 SDRAM - Intel SSD6 M.2 NVMe - Node 18.17.0\n\n#### CRA\n\n- create\n`24.738`\n- npm run build\n`6.267`\n- npm run test\n`1.723`\n\n#### express\n\n- create\n`6.721`\n- npm run build\n`2.882`\n- npm run test\n`3.928`\n\n### HP 17z-ca300 - Windows 10 HyperV Debian - AMD Ryzen 5 4500U - 16 GB DDR4-2666 SDRAM - SSD\n\n#### CRA\n\n- create\n`35.709`\n- npm run build\n`8.856`\n- npm run test\n`2.613`\n\n#### express\n\n- create\n`14.416`\n- npm run build\n`3.765`\n- npm run test\n`4.306`\n\n### HP 17z-ca300 - Windows 10 HyperV Ubuntu - AMD Ryzen 5 4500U - 16 GB DDR4-2666 SDRAM - SSD\n\n#### CRA\n\n- create\n  `36.71`\n- npm run build\n  `8.71`\n- npm run test\n  `3.08`\n\n#### express\n\n- create\n  `18.55`\n- npm run build\n  `3.90`\n- npm run test\n  `4.82`\n\n### HP 17z-ca300 - Windows 10 Docker Debian - AMD Ryzen 5 4500U - 16 GB DDR4-2666 SDRAM - SSD\n\n#### CRA\n\n- create\n`46.551`\n- npm run build\n`9.056`\n- npm run test\n`2.302`\n\n#### express\n\n- create\n`14.234`\n- npm run build\n`3.608`\n- npm run test\n`4.126`\n\n### HP 17z-ca300 - Windows 10 Cygwin - AMD Ryzen 5 4500U - 16 GB DDR4-2666 SDRAM - SSD\n\n#### CRA\n\n- create\n`61.548`\n- npm run build\n`45.456`\n- npm run test\n`16.485`\n\n#### express\n\n- create\n`20.107`\n- npm run build\n`8.130`\n- npm run test\n`9.144`\n\n### MacBook Pro (Retina, 13-inch, Early 2015) - MacOS Mojave - 3.1 GHz Intel Core i7 - 16 GB 1867 MHz DDR3 - SSD\n\n#### CRA\n\n- create\n  `44.45`\n- npm run build\n  `15.58`\n- npm run test\n  `3.45`\n\n#### express\n\n- create\n  `15.50`\n- npm run build\n  `5.49`\n- npm run test\n  `6.19`\n\n### Linode - Debian 8 - 1 CPU Core - 2 GB RAM\n\n#### CRA\n\n- create\n`76.028`\n- npm run build\n`37.645`\n- npm run test\n`8.571`\n\n#### express\n\n- create\n`21.463`\n- npm run build\n`12.339`\n- npm run test\n`12.045`\n\n### GN34 Mini PC - Windows 10 Cygwin - Intel Celeron J3455 - 8GB RAM - 64 GB eMMC\n\n#### CRA\n\n- create\n`162.016`\n- npm run build\n`42.069`\n- npm run test\n`18.397`\n\n#### express\n\n- create\n`44.258`\n- npm run build\n`16.773`\n- npm run test\n`17.237`\n\n### ITX PC - Windows 10 Cygwin - Intel Core i3-2100 - 8 GB 1333 MHz - SSD\n\n#### CRA\n\n- create\n`61.832`\n- npm run build\n`21.982`\n- npm run test\n`6.839`\n\n#### express\n\n- create\n`20.799`\n- npm run build\n`8.498`\n- npm run test\n`9.261`\n\n### Oracle Cloud Free Instance - Ubuntu 20 - 1v CPU - 1 GB RAM - 50 GB HDD\n\n#### CRA\n\n- create\n`74.715`\n- npm run build\n`39.068`\n- npm run test\n`8.107`\n\n#### express\n\n- create\n`23.202`\n- npm run build\n`12.654`\n- npm run test\n`11.308`\n\n### System76 Thelio - Ubuntu - 2 CPUs - 128 GB RAM - 2 TB HDD\n\n#### CRA\n\n- create\n`16.416`\n- npm run build\n`6.145`\n- npm run test\n`2.088`\n\n#### express\n\n- create\n`11.430`\n- npm run build\n`2.787`\n- npm run test\n`1.992`\n\n### Macbook Pro M1 16in - Monterey - Apple M1 Pro - 32 GB - 512 GB HDD\n\n#### CRA\n\n- create\n`8.599`\n- npm run build\n`3.466`\n- npm run test\n`.976`\n\n#### express\n\n- create\n`2.919`\n- npm run build\n`1.665`\n- npm run test\n`2.750`\n\n### Hetzner - Debian 12 - AMD Ryzen 5 3500X - 4 GB - 80 GB - Node 18.17.1\n\n#### CRA\n\n- create\n`24.257`\n- npm run build\n`9.523`\n- npm run test\n`3.092`\n\n#### express\n\n- create\n`6.700`\n- npm run build\n`4.467`\n- npm run test\n`5.186`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fngduc%2Fdev-benchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fngduc%2Fdev-benchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fngduc%2Fdev-benchmark/lists"}