没有合适的资源?快使用搜索试试~ 我知道了~
bnchmrkr:Benchmark.measure {}所有事物
共29个文件
rb:15个
txt:6个
yml:1个
需积分: 10 0 下载量 63 浏览量
2021-05-18
20:22:35
上传
评论
收藏 2.74MB ZIP 举报
温馨提示
本奇克尔 Bnchmrkr(Benchmarker)是一个工具,可帮助对Ruby中的不同方法实现进行基准测试 它是由驱动的 我也讨厌这个名字, 用法 预先安装的gem安装(稳定) gem install bnchmrkr irb ... irb(main):001: 0> require ' bnchmrkr ' = > true irb(main):002 > t = Bnchmrkr.new({ :count_to_1k = > lambda { 1.upto(10_000) }, :count_to_10k = > lambda { 1.upto(1000) } }) = > {:meta= > {:marks= > [:count_to_1k, :count_to_10k], :executions= > 100}} irb(main):003 > t.bench
资源推荐
资源详情
资源评论
收起资源包目录
bnchmrkr-master.zip (29个子文件)
bnchmrkr-master
.travis.yml 226B
.reek 1KB
Rakefile 2KB
test
helper.rb 180B
functional
test_contrived.rb 4KB
unit
test_exceptions.rb 786B
test_initialize.rb 2KB
mark
test_initialize.rb 465B
examples
test_examples.rb 621B
resources
li-50kw.txt 330KB
li-100kw.txt 660KB
li-1Mw.txt 6.45MB
li-10kw.txt 66KB
li-500kw.txt 3.22MB
li-1kw.txt 7KB
Gemfile 325B
Gemfile.lock 2KB
VERSION 5B
examples
contrived.rb 556B
file_reading.rb 2KB
logger_vs_exception.rb 661B
value_of.rb 2KB
ls_vs_stat.rb 1KB
fibonacci.rb 1KB
factorial.rb 367B
.gitignore 80B
lib
bnchmrkr
mark.rb 2KB
bnchmrkr.rb 6KB
README.md 4KB
共 29 条
- 1
资源评论
SouravGoswami
- 粉丝: 22
- 资源: 4531
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功