Hi there,
I've been doing some performance tests with tcmalloc global hook enabled and disabled. This hook is causing problems in cefpython when including third party libraries. It requires that the cefpython library must be the very first library imported. If for example wxWidgets is imported before CEF, then you will be getting random unrelated segmentation faults all over your app. See this topic for more details: viewtopic.php?f=6&t=10850 .
At first I was astonished that tcmalloc was so much faster in CEF js tests. But later when running real browser tests at peacekeeper.futuremark.com it turns out that tcmalloc is a few percentages slower.
In CEF javascript test 1 that tests creation of cef v8 types (int, bool, string), tcmalloc is faster by about 30-40%. In javascript test 2 which tests speed of function execution with different types returned, tcmalloc doesn't make much difference, sometimes it is a bit faster sometimes a bit slower.
See comparison table of javascript test 1:
https://docs.google.com/document/d/1ykl ... edit?pli=1
Javascript tests 1 and 2 for tcmalloc enabled:
https://docs.google.com/document/d/1SuE ... edit?pli=1
Javascript tests 1 and 2 for tcmalloc disabled:
https://docs.google.com/document/d/1R03 ... OqCAE/edit
It looks better when running real browser test at peacekeeper.futuremark.com. The version with tcmalloc disabled is faster by 2.3% (4804 tcmalloc disabled vs 4695 tcmalloc enabled).
See full details:
https://docs.google.com/document/d/1_X2 ... sp=sharing
Testing Chrome 33 CEF3 branch 1750 revision 1604, running on Ubuntu 12.04.3 64-bit.
Processor: i7-3632qm 4 cores 8 threads.
Why is there so much speed degradation with tcmalloc disabled in CEF javascript test 1?