Descriptiondart2js cps: Use a global counter to generate hash codes.
This gives almost 30x compile-time speedup on ImagingGaussianBlurOnce.
Based on profiling with Observatory, it seems to be a performance bug
in how hash codes are stored on objects. The majority of time is spent
in Object_GetHash, which does not compute a hash, but looks it up in a
weak hash table in the VM.
R=kmillikin@google.com
Committed: https://github.com/dart-lang/sdk/commit/82e95e3053b37cdd27494a723abe75d18709409a
Patch Set 1 #
Messages
Total messages: 4 (1 generated)
|