summaryrefslogtreecommitdiff
path: root/sys/modules/lua
diff options
context:
space:
mode:
authorpooka <pooka@NetBSD.org>2014-03-15 15:15:26 +0000
committerpooka <pooka@NetBSD.org>2014-03-15 15:15:26 +0000
commit3290c1c7f76e27ff6200f00be852b853dce940f1 (patch)
treeab3fca303d944b6fb50a5ada79321ae04b2834bd /sys/modules/lua
parentd1ea6c0e833a53920fd5a00adc6e2fc72d3c2c50 (diff)
Allow compile-time optimizations to curlwp. This can have a pretty
staggering impact on performance. When running sendto() in a loop, the improvement is 200k more calls per second with an inlined __thread curlwp as opposed to the default. In other words, it shaves off hundreds of CPU cycles per call (~20%). Even just eliminating the x86_curlwp() call in favor of an inline gives an improvement of 60k calls per second.
Diffstat (limited to 'sys/modules/lua')
0 files changed, 0 insertions, 0 deletions