[Webkit-unassigned] [Bug 204398] [Win] Use thread_local to hold Ref<WTF::Thread> in the thread rather than using FLS
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Dec 2 01:13:07 PST 2019
https://bugs.webkit.org/show_bug.cgi?id=204398
--- Comment #6 from Fujii Hironori <Hironori.Fujii at sony.com> ---
I tried base_perftests on my PC.
Windows 10 Pro Version 10.0.18362 Build 18362
AMD Ryzen 7 1700 Eight-Core Processor, 3000 Mhz, 8 Core(s), 16 Logical Processor(s)
> autoninja -C out/Default base:base_perftests
C:\work\chromium\src>.\out\Default\base_perftests.exe --gtest_filter=ThreadLocalStoragePerfTest.*
Note: Google Test filter = ThreadLocalStoragePerfTest.*
[==========] Running 4 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 4 tests from ThreadLocalStoragePerfTest
[ RUN ] ThreadLocalStoragePerfTest.ThreadLocalStorage
*RESULT TLS read throughput: ThreadLocalStorage= 26301.53127515084 operations/ms
*RESULT TLS read throughput: ThreadLocalStorage= 38 ns/operation
*RESULT TLS write throughput: ThreadLocalStorage= 26061.755936868 operations/ms
*RESULT TLS write throughput: ThreadLocalStorage= 38 ns/operation
*RESULT TLS read-write throughput: ThreadLocalStorage= 12702.880886356217 operations/ms
*RESULT TLS read-write throughput: ThreadLocalStorage= 78 ns/operation
*RESULT TLS read throughput: ThreadLocalStorage 4 threads= 23584.01569752085 operations/ms
*RESULT TLS read throughput: ThreadLocalStorage 4 threads= 42 ns/operation
*RESULT TLS write throughput: ThreadLocalStorage 4 threads= 23240.46443744132 operations/ms
*RESULT TLS write throughput: ThreadLocalStorage 4 threads= 43 ns/operation
*RESULT TLS read-write throughput: ThreadLocalStorage 4 threads= 11242.043443752684 operations/ms
*RESULT TLS read-write throughput: ThreadLocalStorage 4 threads= 88 ns/operation
[ OK ] ThreadLocalStoragePerfTest.ThreadLocalStorage (3311 ms)
[ RUN ] ThreadLocalStoragePerfTest.PlatformFls
*RESULT TLS read throughput: PlatformFls= 142934.7359995426 operations/ms
*RESULT TLS read throughput: PlatformFls= 6 ns/operation
*RESULT TLS write throughput: PlatformFls= 113831.688465435 operations/ms
*RESULT TLS write throughput: PlatformFls= 8 ns/operation
*RESULT TLS read-write throughput: PlatformFls= 64341.78355424013 operations/ms
*RESULT TLS read-write throughput: PlatformFls= 15 ns/operation
*RESULT TLS read throughput: PlatformFls 4 threads= 136150.74610608869 operations/ms
*RESULT TLS read throughput: PlatformFls 4 threads= 7 ns/operation
*RESULT TLS write throughput: PlatformFls 4 threads= 106626.85930585915 operations/ms
*RESULT TLS write throughput: PlatformFls 4 threads= 9 ns/operation
*RESULT TLS read-write throughput: PlatformFls 4 threads= 55406.57343587243 operations/ms
*RESULT TLS read-write throughput: PlatformFls 4 threads= 18 ns/operation
[ OK ] ThreadLocalStoragePerfTest.PlatformFls (677 ms)
[ RUN ] ThreadLocalStoragePerfTest.PlatformTls
*RESULT TLS read throughput: PlatformTls= 289075.8245887896 operations/ms
*RESULT TLS read throughput: PlatformTls= 3 ns/operation
*RESULT TLS write throughput: PlatformTls= 182351.97578365763 operations/ms
*RESULT TLS write throughput: PlatformTls= 5 ns/operation
*RESULT TLS read-write throughput: PlatformTls= 127638.93498072651 operations/ms
*RESULT TLS read-write throughput: PlatformTls= 7 ns/operation
*RESULT TLS read throughput: PlatformTls 4 threads= 263511.55498168594 operations/ms
*RESULT TLS read throughput: PlatformTls 4 threads= 3 ns/operation
*RESULT TLS write throughput: PlatformTls 4 threads= 161124.00103119362 operations/ms
*RESULT TLS write throughput: PlatformTls 4 threads= 6 ns/operation
*RESULT TLS read-write throughput: PlatformTls 4 threads= 116123.7879579632 operations/ms
*RESULT TLS read-write throughput: PlatformTls 4 threads= 8 ns/operation
[ OK ] ThreadLocalStoragePerfTest.PlatformTls (370 ms)
[ RUN ] ThreadLocalStoragePerfTest.Cpp11Tls
*RESULT TLS read throughput: C++ thread_local TLS= 357449.24220760656 operations/ms
*RESULT TLS read throughput: C++ thread_local TLS= 2 ns/operation
*RESULT TLS write throughput: C++ thread_local TLS= 358628.60421747237 operations/ms
*RESULT TLS write throughput: C++ thread_local TLS= 2 ns/operation
*RESULT TLS read-write throughput: C++ thread_local TLS= 224039.43093984542 operations/ms
*RESULT TLS read-write throughput: C++ thread_local TLS= 4 ns/operation
*RESULT TLS read throughput: C++ thread_local TLS 4 threads= 327300.10146303143 operations/ms
*RESULT TLS read throughput: C++ thread_local TLS 4 threads= 3 ns/operation
*RESULT TLS write throughput: C++ thread_local TLS 4 threads= 109206.07185759529 operations/ms
*RESULT TLS write throughput: C++ thread_local TLS 4 threads= 9 ns/operation
*RESULT TLS read-write throughput: C++ thread_local TLS 4 threads= 51652.89256198347 operations/ms
*RESULT TLS read-write throughput: C++ thread_local TLS 4 threads= 19 ns/operation
[ OK ] ThreadLocalStoragePerfTest.Cpp11Tls (428 ms)
[----------] 4 tests from ThreadLocalStoragePerfTest (4787 ms total)
[----------] Global test environment tear-down
[==========] 4 tests from 1 test suite ran. (4791 ms total)
[ PASSED ] 4 tests.
C:\work\chromium\src>
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191202/1a713316/attachment-0001.htm>
More information about the webkit-unassigned
mailing list