3 ms·
Unlike these folks from dotnet, which tested directly on ASP for real workload https://github.com/dotnet/runtimelab/issues/2398
by metaltyphoon 3y ago
Unlike these folks from dotnet, which tested directly on ASP for real workload
https://github.com/dotnet/runtimelab/issues/2398
- sebazzz 3y ago> Interop with native code in green threads model is complex and comparatively slow . With a benchmark of a minimal P/Invoke, the cost of making 100,000,000 P/Invoke calls changed from 300ms to about 1800ms when running on a green thread. This was expected as similar issues impact other languages implementing green threads. We found that there are surprising functional issues in interactions with code which uses thread-local static variables or exposes native thread state. > Interactions with security mitigations such as shadow stacks intended to protect against return-oriented programming would be quite challenging.