https://bugs.winehq.org/show_bug.cgi?id=57061 --- Comment #2 from cqwrteur <euloanty(a)live.com> --- (In reply to Zeb Figura from comment #1)
What kind of numbers do you get on Windows (ideally on the same hardware?)
D:\msys64\home\unlvs\projects\fast_io\benchmark\0002.file_io_tsc\time>clang++ -o iobuf_file_lockable_srwlock.exe iobuf_file_lockable.cc -O3 -std=c++26 -I../../../include --target=x86_64-windows-msvc --sysroot=D:\toolchains\windows-msvc-sysroot -D_DLL=1 -lmsvcrt -fuse-ld=lld -flto=thin D:\msys64\home\unlvs\projects\fast_io\benchmark\0002.file_io_tsc\time>clang++ -o iobuf_file_lockable_critical_section.exe iobuf_file_lockable.cc -O3 -std=c++26 -I../../../include --target=x86_64-windows-msvc --sysroot=D:\toolchains\windows-msvc-sysroot -D_DLL=1 -lmsvcrt -fuse-ld=lld -flto=thin D:\msys64\home\unlvs\projects\fast_io\benchmark\0002.file_io_tsc\time>del *.txt Could Not Find D:\msys64\home\unlvs\projects\fast_io\benchmark\0002.file_io_tsc\time\*.txt D:\msys64\home\unlvs\projects\fast_io\benchmark\0002.file_io_tsc\time>iobuf_file_lockable_srwlock.exe output:0.1471754s input:0.1363283s D:\msys64\home\unlvs\projects\fast_io\benchmark\0002.file_io_tsc\time>del *.txt D:\msys64\home\unlvs\projects\fast_io\benchmark\0002.file_io_tsc\time>iobuf_file_lockable_critical_section.exe output:0.1584142s input:0.1377649s SRWLock is faster than CriticalSection. I'll send you the binary -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.