{"id":20698163,"url":"https://github.com/fly-apps/rails-statics","last_synced_at":"2026-04-22T06:32:25.586Z","repository":{"id":104277850,"uuid":"597165723","full_name":"fly-apps/rails-statics","owner":"fly-apps","description":"Rails application to test the performance of Rails static assets","archived":false,"fork":false,"pushed_at":"2023-02-03T20:41:40.000Z","size":1742,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-01-17T18:56:40.430Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/fly-apps.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":"2023-02-03T19:17:59.000Z","updated_at":"2023-02-08T12:42:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"2143728f-f6c1-40cc-8134-02e204060355","html_url":"https://github.com/fly-apps/rails-statics","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fly-apps%2Frails-statics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fly-apps%2Frails-statics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fly-apps%2Frails-statics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fly-apps%2Frails-statics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fly-apps","download_url":"https://codeload.github.com/fly-apps/rails-statics/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242967662,"owners_count":20214280,"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-11-17T00:23:07.954Z","updated_at":"2025-12-24T06:20:25.876Z","avatar_url":"https://github.com/fly-apps.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# README\n\nThis Rails application was created to benchmark the performance of assets being served up by Puma, nginx, etc.\n\n## Configurations\n\nI haven't stood this up yet, but here's what I want to test:\n\n#### All Benchmarks\n\nEverything I test will have the following:\n\n* Rails 7.0.x\n* Puma 6.0\n* Ruby 3.2\n\n#### Variations\n\nThese are the different configurations I'll test:\n\n* `Rails.configuration.public_file_server = false` with nginx\n* `Rails.configuration.public_file_server = true` (yjit disabled)\n* `Rails.configuration.public_file_server = true` with `RUBYOPT=\"--yjit\"` (yjit enabled)\n\n## Getting started\n\nOn macOS, run `brew bundle` to install `k6`. Installation instructions for other platforms at https://k6.io/docs/get-started/installation/.\n\nNext install the gems.\n\n```sh\nbundle\n```\n\nNow compile the assets.\n\n```sh\nbin rails assets:precompile\n```\n\nThen boot the server.\n\n```sh\nbin/rails server\n```\n\nOpen http://localhost:3000/ and you should see a page entitled \"Rails static assets\" that lists the assets.\n\n## Running benchmarks\n\nThen run the k6 script against the server.\n\n```sh\nk6 run benchmarks/get_robots.js -u 100 -d 30s\n```\n\nRead https://k6.io/ for more info about k6.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffly-apps%2Frails-statics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffly-apps%2Frails-statics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffly-apps%2Frails-statics/lists"}