Status: New
Owner: ----
New issue 2551 by [email protected]: 3.16.14.1 - String::Utf8Length()
absurdly slow for lefty cons strings
http://code.google.com/p/v8/issues/detail?id=2551
I'm investigating upgrading node's master branch to 3.16, so I pulled in V8
3.16.14.1. You can build it by pulling my v8-3.16.14 branch:
https://github.com/isaacs/node/tree/v8-3.16.14
Here is a test demonstrating the problem:
https://gist.github.com/isaacs/5015152
In current node master, using V8 3.15.11.15, both byteLength calls run very
fast. However, in 3.16.14.1, the 'lefty' Buffer.byteLength test takes over
100s and spins the CPUs a lot. As far as I can tell, it's getting caught
in the while(true) in ConsStringIteratorOp::Search, in the `consumed <
offset + length` branch, and then subsequently in the continue in the
`((type & kStringRepresentationMask) == kConsStringTag)` branch, where it
continues, and spins the loop for a very long time.
I'd be happy to provide any more details, or a core dump, if it will help.
I'm not very familiar with the internal details of cons strings, so this is
as far as I got.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.