Overview
| Artifact ID: | bee08ae1175387cc4395c575f01c7bfd769df3b0 |
|---|---|
| Ticket: | 2995655fffffffffffffffffffffffffffffffff
Report inner contexts in [info errorstack] |
| User & Date: | ferrieux on 2010-10-13 06:29:15 |
Changes
- icomment:
Extensive benchmarking revealed a 18% slowdown on bench "DATA access in alist", which is TEBC-intensive. Investigation showed that the proposed approach of an extra local or BottomData field in TEBCresume is the culprit; its update at each and every instruction is simply too costly. Following your instructions, here is inner9.patch which takes the more conservative approach of NOT touching TEBCresume at all on the non-error path. The key is to extend GetSrcInfoForPc so that it is able to extract the beginning of the current instruction by crawling the bytecode. This crawling is short most of the time since it starts from the beginning of the current *command* when possible. Only in exceptional cases like constant expr trees, does it start from the beginning of the BC for lack of a command. Timings soon.
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"