Futamura projections of Rails applications
还没有人认领这个 Issue。
- 主要语言
- Ruby
- 星标
- 119
- 派生
- 36
- 平均合并
- 14 小时 21 分钟
- 30 天内合并 PR
- 6
描述
Not sure where the best place is to have discussions on ruby-bench, but I'm exploring ideas related to the railsbench demo contained in this repository and perhaps there may be something worth collaborating or following up on.
Quick start:
curl -sL https://rubys.github.io/roundhouse/browse/ruby.tgz | tar xz
cd ruby
bundle install
make seed assets
BLOG_DB=tmp/blog.sqlite3 bundle exec puma -C config/puma.rb
This is the quintessential Rails blog demo modernized with Tailwind CSS, Turbo Streams, and Action Cable - open multiple windows and make changes and see pages update live. All running as a pure Ruby application (no Rails) which is automatically generated from the original Rails source.
Benchmark results show high requests/second with slightly lower memory usage. Section 3 of this page may be of particular interest. There may be opportunities for more parallelism or optimizations - suggestions welcome.
The Ruby JRuby Was Built to Run provides more background on the Ruby to Ruby transformation and the points made in the post apply equally to MRI CRuby.
Futamura projections describes the overall technique.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
使用列出的设置命令从 railsbench 演示开始,然后查看基准测试结果,尤其是第 3 节,以及链接的 Futamura projections 背景资料。该 issue 没有定义具体的变更、验收标准或实现目标;开始工作前需要先就“done”的定义达成一致。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- ruby
- 领域
- performance
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 冷清
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100