This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 6ea5a6fd32f74c7de180597394e0dd0a6b13b848
tree 1d8843aa367b13b0354c51ead6fd54afec985c57
parent 2469bf37f5db97fd9192c143289b483ae3c1011e
tree 1d8843aa367b13b0354c51ead6fd54afec985c57
parent 2469bf37f5db97fd9192c143289b483ae3c1011e
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
README.markdown | ||
| |
Rakefile | ||
| |
VERSION.yml | ||
| |
examples/ | ||
| |
excel_printer.gemspec | ||
| |
lib/ |
README.markdown
ExcelPrinter
This is a little RubyProf report printer for generating simple flat profiling reports in Excel's XLS file format.
Installing
ExcelPrinter is distributed as a rubygem:
gem install excel_printer
Usage
This is just a standard report printer, you can drop it in anywhere that you would use a report printer in ruby-prof:
require 'rubygems'
require 'ruby-prof'
require 'excel_printer'
result = RubyProf.profile do
# Your code here
end
printer = ExcelPrinter::FlatExcelPrinter.new(result)
printer.print('report.xls')
See the examples for more information.
Why?
I got tired of having to remember sort -n -r -k 2.
Theoretically you could then filter, and such in Excel, OpenOffice, etc.
Anyways, it's kind of neat.
Adam Sanderson, netghost@gmail.com








