On 2011-03-03, at 13:57 , Marc Feeley wrote:
On 2011-03-03, at 1:11 PM, chevalma@iro.umontreal.ca wrote:
I'm think a fair share of the time and space usage for lowering is due to the several validation passes. I can't commit a fix to disable them with a flag right now because our repo seems to still be down, but you could try it yourself.
To disable all validation during lowering, in ir/lowering.js, comment out cfg.validate() on lines 157, 169, 175, 185,
Once I have access to the repo again I might add a parameter so validation is disabled in the bootstrap config only, but remains enabled for our shell and unit tests.
- Maxime
I tried commenting out the validation and it did not change much (it saved about 2% allocation overall). The report is below.
Would it help if we could record the object types as well? From what I saw in heap.cc, it shouldn't be too difficult to record them. Marc, could you share a patch of your mods to v8 for me to use as a starting point?
Bruno