mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-17 05:44:08 -07:00
SPECTRE attacks mitigations were added to SpiderMonkey's JIT output in version 57. Turning these off is a very large speedup, around 10-20% wall time (on my computer) depending on the map and the situation. For the most part, from profiling on my machine, this is from memory fences after JIT -> C++ calls. 0 A.D. does a lot of these. The SPECTRE class of attack is a timing attack based on speculative execution to leak sensitive information, and it seems extraordinarily unlikely that something like this could be successfully mounted using 0 A.D. Differential Revision: https://code.wildfiregames.com/D5014 This was SVN commit r27699. |
||
|---|---|---|
| .. | ||
| tests | ||
| FunctionWrapper.h | ||
| JSON.cpp | ||
| JSON.h | ||
| Object.h | ||
| ScriptContext.cpp | ||
| ScriptContext.h | ||
| ScriptConversions.cpp | ||
| ScriptConversions.h | ||
| ScriptEngine.h | ||
| ScriptExceptions.cpp | ||
| ScriptExceptions.h | ||
| ScriptExtraHeaders.h | ||
| ScriptForward.h | ||
| ScriptInterface.cpp | ||
| ScriptInterface.h | ||
| ScriptRequest.h | ||
| ScriptStats.cpp | ||
| ScriptStats.h | ||
| ScriptTypes.h | ||
| StructuredClone.cpp | ||
| StructuredClone.h | ||