{"id":19946988,"url":"https://github.com/entityfx/entityfx-bench","last_synced_at":"2025-05-03T17:33:43.720Z","repository":{"id":45323763,"uuid":"294349875","full_name":"EntityFX/EntityFX-Bench","owner":"EntityFX","description":"Benchmarks set written in C#, Java, PHP, JS, Python, Lua, Go","archived":false,"fork":false,"pushed_at":"2024-10-24T16:01:33.000Z","size":9372,"stargazers_count":22,"open_issues_count":2,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-07T18:52:38.182Z","etag":null,"topics":["benchmark","benchmarks","benchmarks-set","dhrystone","e2k","linpack","scimark2","whetstone"],"latest_commit_sha":null,"homepage":"","language":"Lua","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/EntityFX.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":"2020-09-10T08:28:32.000Z","updated_at":"2025-02-18T18:12:28.000Z","dependencies_parsed_at":"2024-11-13T00:46:21.960Z","dependency_job_id":null,"html_url":"https://github.com/EntityFX/EntityFX-Bench","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EntityFX%2FEntityFX-Bench","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EntityFX%2FEntityFX-Bench/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EntityFX%2FEntityFX-Bench/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EntityFX%2FEntityFX-Bench/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EntityFX","download_url":"https://codeload.github.com/EntityFX/EntityFX-Bench/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252227129,"owners_count":21714946,"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","benchmarks","benchmarks-set","dhrystone","e2k","linpack","scimark2","whetstone"],"created_at":"2024-11-13T00:33:49.079Z","updated_at":"2025-05-03T17:33:38.695Z","avatar_url":"https://github.com/EntityFX.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EntityFX Benchmarks Set\n\n![](https://repository-images.githubusercontent.com/294349875/7e366c80-2123-11eb-9279-0c805e037106)\n\n## Languages\n\n* C#\n* PHP\n* JavaScript (Browser, NodeJS)\n* Java\n* Python\n* Lua\n* Golang\n\n## Benchmarks\n\n* Dhrystone (http://www.roylongbottom.org.uk/#anchorSource)\n* Whetstone (http://www.roylongbottom.org.uk/#anchorSource)\n* Scimark 2 (Original sources: https://math.nist.gov/scimark2/download.html)\n* Linpack (Based on: https://github.com/fommil/netlib-java/blob/master/perf/src/main/java/com/github/fommil/netlib/Linpack.java)\n* Generic:\n  * Loops\n  * Conditions\n  * Arithmetics\n  * Math\n  * Array speed\n  * String manipulation\n  * Hash algorithms\n \n## Run benchmarks\n\n### C#\n\nMono:\n\n```sh\ncd release/dotnet/net45/\nmono EntityFX.NetBenchmark.exe\n```\n\nDotNet Core:\n\n```sh\ncd release/dotnet/netcoreapp3.1/\ndotnet EntityFX.NetBenchmark.dll\n```\n\n### Java\n\n```sh\ncd /release/java\njava -jar EntityFXBench.jar\n```\n\n### JavaScript\n\n#### Web\n\nhttp://laseroid.azurewebsites.net/js-bench/\n\n#### NodeJS\n\nYou must have nodejs installed\n\n```sh\ncd src/js\nnode ./node_main.js\n```\n\n### PHP\n\n```sh\ncd src/php/\nphp -n -t 99999 -d memory_limit=2048M Main.php\n```\n\n### Python\n\n```sh\ncd src/python/\npython3 main.py\n```\n\n### Lua\n\n```sh\ncd src/lua/\nlua main.lua\n```\n\n## Build\n\n### Dotnet\n```sh\ncd src/dotnet\ndotnet build EntityFX.NetBenchmark.sln --configuration Release\n```\n\n### Go\n```sh\ncd src/go/entityfx\ngo build\n```\n\nalternatively:\n```sh\ngo get -u github.com/EntityFX/EntityFX-Bench/src/go/entityfx\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fentityfx%2Fentityfx-bench","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fentityfx%2Fentityfx-bench","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fentityfx%2Fentityfx-bench/lists"}