mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
7 lines
271 B
Bash
7 lines
271 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
# for each service
|
||
|
grep -lr "< Fog::Service$" lib/fog | sed -e 's/lib\///' -e 's/.rb$//' |
|
||
|
# trigger rubygem cost then benchmark the load time
|
||
|
xargs -I{} ruby -Ilib -rbenchmark -e 'Gem::Specification._all; puts "{}: #{Benchmark.realtime{ require "{}" }}"'
|