{"id":19316026,"url":"https://github.com/socketry/falcon-benchmark","last_synced_at":"2025-08-10T20:09:47.110Z","repository":{"id":65988696,"uuid":"172426827","full_name":"socketry/falcon-benchmark","owner":"socketry","description":"A work in progress synthetic benchmark comparing Falcon with other servers.","archived":false,"fork":false,"pushed_at":"2025-04-09T23:59:08.000Z","size":2078,"stargazers_count":15,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-10T00:36:18.313Z","etag":null,"topics":["benchmark","falcon","nginx","passenger"],"latest_commit_sha":null,"homepage":"","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/socketry.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},"funding":{"custom":"https://github.com/socketry/community/#funding","github":"ioquatix"}},"created_at":"2019-02-25T03:20:45.000Z","updated_at":"2025-04-27T12:34:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"cbfec10b-d70a-45ea-8ca2-904fce9d4b5b","html_url":"https://github.com/socketry/falcon-benchmark","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/socketry/falcon-benchmark","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socketry%2Ffalcon-benchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socketry%2Ffalcon-benchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socketry%2Ffalcon-benchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socketry%2Ffalcon-benchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/socketry","download_url":"https://codeload.github.com/socketry/falcon-benchmark/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socketry%2Ffalcon-benchmark/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269780617,"owners_count":24474686,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["benchmark","falcon","nginx","passenger"],"created_at":"2024-11-10T01:09:31.461Z","updated_at":"2025-08-10T20:09:47.090Z","avatar_url":"https://github.com/socketry.png","language":"JavaScript","funding_links":["https://github.com/socketry/community/#funding","https://github.com/sponsors/ioquatix"],"categories":[],"sub_categories":[],"readme":"# Falcon vs Passenger\n\nThis is a synthetic benchmark comparing passenger with falcon.\n\n## Usage\n\n**This benchmark will only work on Arch Linux at the current time.**\n\nFirst, generate the systems:\n\n\trake falcon:base falcon:setup passenger:base passenger:setup\n\nOnce the systems have been generated, you can boot them (you may want to run them in separate terminals):\n\n\trake falcon:start\n\trake passenger:start\n\nTo run benchmarks:\n\n\trake benchmark:small benchmark:large benchmark:sleep\n\n### Latency Calculations\n\nBy default `wrk` computes latency as the time from sending the first byte, to the time the response is received completely. This does not take into account if the server took time to `accept` the connection, which is typical if a server is highly contended, nor does it take into account connections where request are sent but responses are never received.\n\nIn order to take these important factors into account, please use [this fork of wrk](https://github.com/ioquatix/wrk). If you compiled `wrk` in `$HOME/wrk`\n\n```\nexport WRK=$HOME/wrk/wrk\nrake benchmark:all\n```\n\n## Results\n\n### Small Response Benchmark\n\n![Graph](benchmark/small.svg)\n\n### Large Response Benchmark\n\n![Graph](benchmark/large.svg)\n\n### Non-blocking Benchmark\n\n![Graph](benchmark/nonblocking.svg)\n\n### Blocking Benchmark\n\n![Graph](benchmark/blocking.svg)\n\n## System Details\n\n### `/proc/cpuinfo`\n\n4 cores, 8 hyperthreads: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz.\n\n```\n% cat /proc/cpuinfo\nprocessor\t: 0\nvendor_id\t: GenuineIntel\ncpu family\t: 6\nmodel\t\t: 60\nmodel name\t: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz\nstepping\t: 3\nmicrocode\t: 0x25\ncpu MHz\t\t: 1496.512\ncache size\t: 8192 KB\nphysical id\t: 0\nsiblings\t: 8\ncore id\t\t: 0\ncpu cores\t: 4\napicid\t\t: 0\ninitial apicid\t: 0\nfpu\t\t: yes\nfpu_exception\t: yes\ncpuid level\t: 13\nwp\t\t: yes\nflags\t\t: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt dtherm ida arat pln pts flush_l1d\nbugs\t\t: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf\nbogomips\t: 6786.73\nclflush size\t: 64\ncache_alignment\t: 64\naddress sizes\t: 39 bits physical, 48 bits virtual\npower management:\n```\n\n### Memory\n\n```\n% sudo lshw -short -C memory\nH/W path           Device        Class          Description\n===========================================================\n/0/0                             memory         64KiB BIOS\n/0/1                             memory         \n/0/1/0                           memory         8GiB DIMM DDR3 Synchronous 2133 MHz (0.5 ns)\n/0/43                            memory         System Memory\n/0/43/0                          memory         DIMM [empty]\n/0/43/1                          memory         8GiB DIMM DDR3 Synchronous 2133 MHz (0.5 ns)\n/0/43/2                          memory         DIMM [empty]\n/0/4a                            memory         256KiB L1 cache\n/0/4b                            memory         1MiB L2 cache\n/0/4c                            memory         8MiB L3 cache\n/0/2                             memory         \n/0/3                             memory         \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsocketry%2Ffalcon-benchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsocketry%2Ffalcon-benchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsocketry%2Ffalcon-benchmark/lists"}