Futamura projections of Rails applications
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 冷清
- 技术栈
- ruby
- 领域
- performance
调研方向
使用列出的设置命令从 railsbench 演示开始,然后查看基准测试结果,尤其是第 3 节,以及链接的 Futamura projections 背景资料。该 issue 没有定义具体的变更、验收标准或实现目标;开始工作前需要先就“done”的定义达成一致。
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- Ruby
- 星标
- 119
- 派生
- 39
- 平均合并
- 1 天 23 小时
- 30 天内合并 PR
- 10
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ruby/ruby-bench 的其他 Issue
-
good first issue
难度 3/5 半天 新手友好度 45/100
ruby/ruby-bench#578 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
ruby/ruby-bench#425 · 2 条评论 ·
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
open-feature/ruby-sdk-contrib#340 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
zold-io/wts.zold.io#651 ·
维护者通常 1 天内回复
-
good first issue help wanted
难度 2/5 1-3 小时 新手友好度 87/100
erkamyaman/rust-anything#788 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 74/100
TheOdinProject/curriculum#31579 ·
维护者通常 1 天内回复