forked from roo-rb/roo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### Summary Fixes roo-rb#378 and roo-rb#374 (Introduced in roo-rb#368) ### Benchmark ``` file_name = 'test/files/Bibelbund.csv' MemoryProfiler.report{ Roo::Spreadsheet.open(file_name).tap{|x|(2..x.last_row).each{|i| x.row(i)}} } puts Benchmark.measure{ Roo::Spreadsheet.open(file_name).tap{|x|(2..x.last_row).each{|i| x.row(i)}} } ``` Master ``` Total allocated: 39705265 bytes (561479 objects) Total retained: 768 bytes (4 objects) 0.300000 0.000000 0.300000 ( 0.304877) ``` Modified: ``` Total allocated: 16952085 bytes (234487 objects) Total retained: 768 bytes (4 objects) 0.190000 0.000000 0.190000 ( 0.181199) ```
- Loading branch information
1 parent
6eb877e
commit 921dfad
Showing
2 changed files
with
36 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters