Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* JIT interface slowness
@ 2010-12-31 19:43 Vyacheslav Egorov
  2010-12-31 20:10 ` Pedro Alves
  0 siblings, 1 reply; 14+ messages in thread
From: Vyacheslav Egorov @ 2010-12-31 19:43 UTC (permalink / raw)
  To: gdb

Hi,

I've implemented[1] basic GDB JIT client for V8[2] and when people
started testing it with node.js[3] we noticed that it makes execution
under GDB slower especially if JIT generates and registers inmemory
ELF object for every single code object it emits.

Apparently GDB is just not optimized to handle tons of small ELF
objects being registered (and unregistered). When I just comment out
calls to __jit_debug_register_code (leaving ELF-generation intact)
everything becomes fast again.

Is there any known bottlenecks in JIT interface/any known workaround for them?

Any hints would be highly appreciated.

Thanks.

[1] http://codereview.chromium.org/5965011/
[2] http://v8.googlecode.com/
[3] http://nodejs.org

--
Vyacheslav Egorov


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2011-01-04  0:13 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-31 19:43 JIT interface slowness Vyacheslav Egorov
2010-12-31 20:10 ` Pedro Alves
2010-12-31 21:39   ` Vyacheslav Egorov
2010-12-31 22:23     ` Pedro Alves
2010-12-31 23:12       ` Vyacheslav Egorov
2010-12-31 23:36         ` Pedro Alves
2011-01-02  7:54           ` Paul Pluzhnikov
2011-01-03 10:44             ` Vyacheslav Egorov
2011-01-03 17:32               ` Paul Pluzhnikov
2011-01-03 22:01                 ` Paul Pluzhnikov
2011-01-03 23:32                   ` Pedro Alves
2011-01-03 23:40                     ` Pedro Alves
2011-01-03 23:47                     ` Paul Pluzhnikov
2011-01-04  0:13                       ` Pedro Alves

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox