{"id":21934777,"url":"https://github.com/mhdcodes/salty-benchmarks","last_synced_at":"2026-04-29T21:31:23.913Z","repository":{"id":257097231,"uuid":"856400901","full_name":"mhdcodes/salty-benchmarks","owner":"mhdcodes","description":"Benchmarks for different server technologies, including Hono, Bun, and Dumbo","archived":false,"fork":false,"pushed_at":"2024-09-14T10:56:38.000Z","size":534,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-04T21:57:03.542Z","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/mhdcodes.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":"2024-09-12T14:15:40.000Z","updated_at":"2024-09-14T10:56:41.000Z","dependencies_parsed_at":"2024-09-14T21:02:36.694Z","dependency_job_id":"45763744-bacf-4480-ab47-b52ef4c33d76","html_url":"https://github.com/mhdcodes/salty-benchmarks","commit_stats":null,"previous_names":["the-dijkstra/salty-benchmarks","mhdcodes/salty-benchmarks"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mhdcodes/salty-benchmarks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhdcodes%2Fsalty-benchmarks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhdcodes%2Fsalty-benchmarks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhdcodes%2Fsalty-benchmarks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhdcodes%2Fsalty-benchmarks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mhdcodes","download_url":"https://codeload.github.com/mhdcodes/salty-benchmarks/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhdcodes%2Fsalty-benchmarks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32444934,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T20:22:27.477Z","status":"ssl_error","status_checked_at":"2026-04-29T20:22:26.507Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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-11-29T00:17:03.793Z","updated_at":"2026-04-29T21:31:23.898Z","avatar_url":"https://github.com/mhdcodes.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Salty Benchmarks\n\n\n## Setup Instructions\n\nThis project includes benchmarks for different server technologies, including Hono, Bun, and Dumbo. Below are the instructions for setting up and running each server.\n\n**Setting up Bun**\n\nTo run the Bun server, you need to have Bun installed on your system. You can download and install Bun from the official Bun website: https://bun.sh/docs/installation\n\nAlternatively, you can run the following script to install Bun:\n\n```bash\ncurl -fsSL https://bun.sh/install | bash\n```\n\n**Setting up PHP**\n\nTo run the Dumbo server, you need to have PHP installed on your system. You can download and install PHP from the official PHP website: https://www.php.net/downloads\n\nAlternatively, you can run the following script to install PHP on a Debian-based system:\n\n```bash\nsudo add-apt-repository ppa:ondrej/php\nsudo apt update\nsudo apt install php8.3 php8.3-cli php8.3-{bz2,curl,mbstring}\n```\n\n**Setting up FrankenPHP**\n\nTo run the Dumbo server, you need to have FrankenPHP downloaded to your system. You can download FrankenPHP manually from the official GitHub repository: https://github.com/dunglas/frankenphp/releases\n\nAlternatively, you can run the following script to download FrankenPHP on a Debian-based system and save it to the project root:\n\n```bash\ncurl -L https://github.com/dunglas/frankenphp/releases/download/v1.2.5/frankenphp-linux-x86_64 -o frankenphp\nsudo chmod +x ./frankenphp\n```\n\n## Install Instructions\n\nBefore running any script, ensure you have installed the project dependencies using the following commands:\n\n```bash\n# JS\npnpm install\n\n# PHP\ncomposer install\n```\n\n## Run Instructions\n\n**Available Scripts**\n\nThe following scripts are available in the `package.json` file to run the servers:\n\n* `hono:simple`: Runs the Hono server with a simple setup.\n* `hono:sqlite`: Runs the Hono server with SQLite database integration.\n* `hono:ssr`: Runs the Hono server with server-side rendering capabilities.\n* `bun:simple`: Runs the Bun server with a simple setup.\n* `bun:sqlite`: Runs the Bun server with SQLite database integration.\n* `bun:ssr`: Runs the Bun server with server-side rendering capabilities.\n* `bun:simple:mc`: Runs the Bun server with a simple setup and multi-core support.\n* `bun:sqlite:mc`: Runs the Bun server with SQLite database integration and multi-core support.\n* `dumbo:simple`: Runs the Dumbo server with a simple setup.\n* `dumbo:sqlite`: Runs the Dumbo server with SQLite database integration.\n\nTo run a server, navigate to the project directory in your terminal and execute the corresponding script. For example, to run the Hono server with a simple setup, run:\n\n```bash\npnpm run hono:simple\n```\n\nReplace `hono:simple` with the script you want to run.\n\nTo perform a workload test using wrk, run the following command: `wrk -t12 -c400 -d15s http://localhost:3000`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhdcodes%2Fsalty-benchmarks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmhdcodes%2Fsalty-benchmarks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhdcodes%2Fsalty-benchmarks/lists"}