D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
td-agent
/
embedded
/
lib
/
ruby
/
gems
/
2.1.0
/
gems
/
kramdown-1.13.2
/
benchmark
/
Filename :
timing.sh
back
Copy
#!/bin/bash source ~/.bashrc for VERSION in `rvm list strings | sort`; do rvm $VERSION echo $(ruby -v) ruby -Ilib bin/kramdown < benchmark/mdsyntax.text 2>/dev/null >/dev/null time ruby -Ilib bin/kramdown < benchmark/mdsyntax.text 2>/dev/null >/dev/null done