https://bugs.winehq.org/show_bug.cgi?id=56867
Bug ID: 56867 Summary: dynamic_cast too slow on wine compared to windows Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msvcp Assignee: wine-bugs@winehq.org Reporter: euloanty@live.com Distribution: ---
Herb Sutter said dynamic cast was using string comparison and now it is not. So the performance of dynamic cast becomes MUCH faster.
Same program with static link with microsoft's own library.
$ wine ./cout.exe coutfd:0.1162809s u=10000000
wine DLL implementation:
$ wine ./cout.exe coutfd:0.4995548s u=10000000
The overhead is 5x at least