⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby master
All Projects
Ruby
»
Ruby master
Overview
Activity
Roadmap
Issues
Repository
Like
Download (159 Bytes)
Bug #13941
» bench.rb
Benchmarking script -
graywolf (Gray Wolf)
, 09/26/2017 12:10 AM
#!/usr/bin/env ruby
require
'benchmark'
Benchmark
.
bmbm
(
10
)
do
|
x
|
x
.
report
(
'File.exist?:'
)
do
(
1
..
100000
).
each
{
File
.
exist?
(
'/etc/hosts'
)
}
end
end
« Previous
1
2
3
4
Next »
(4-4/4)
Loading...