diff options
| author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-06-13 20:51:00 +0200 |
|---|---|---|
| committer | Holger Freyther <holger+qt@freyther.de> | 2014-07-20 09:51:33 +0200 |
| commit | 9da3da656e47f8924d3f886fff71b847e8daac63 (patch) | |
| tree | faf21c89e92eb1cd08ff9bc6c6bef1ac73336b89 /src/qml/jsruntime/qv4functionobject.cpp | |
| parent | 3aa02fb3f2dd3e39869cdcf942d8f5a26cc7ad22 (diff) | |
v4: Manually inline the access to the execution engine
Executing an allocation heavy testcase of JavaScriptCore on my
i7 Sandy Bridge notebook 6.85% is spent inside the ::engine()
call as gcc 4.8.2 of Debian didn't inline the call. Inline the
call sites by hand. I removed the protected ::engine() as it is
now unused.
$ time qmljs JavaScriptCore/tests/perf/bench-allocate-nonretained.js
before (best run of three)
real 0m2.234s
user 0m2.228s
sys 0m0.008s
after (worse run of three)
real 0m2.097s
user 0m2.088s
sys 0m0.008s
Change-Id: I20b73b3b3dac630eb1d5e7d66bcb50c839630567
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4functionobject.cpp')
0 files changed, 0 insertions, 0 deletions
