Update performance.md

This commit is contained in:
Daniel Lemire 2020-07-08 08:32:41 -04:00 committed by GitHub
parent 9675dcac44
commit 697bafdd0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ When compiling with Visual Studio, we recommend the flags `/Ob2 /O2` or better.
Recent versions of Microsoft Visual Studio on Windows provides support for the LLVM Clang compiler. You only need to install the "Clang compiler" optional component (ClangCL). You may also get a copy of the 64-bit LLVM CLang compiler for [Windows directly from LLVM](https://releases.llvm.org/download.html). The simdjson library fully supports the LLVM Clang compiler under Windows. In fact, you may get better performance out of simdjson with the LLVM Clang compiler than with the regular Visual Studio compiler.
In our experience under Windows, you will get much better performance compiling with GNU GCC via MSYS2 or with ClangCL/Visual Studio than by using the regular Visual Studio compiler. We encourage you to experiment and compare the results.
Under Windows, you may get better performance compiling with GNU GCC via MSYS2 or with ClangCL/Visual Studio than by using the regular Visual Studio compiler. Visual Studio lacks some specific features that both GNU GCC and LLVM clang support: e.g., computed gotos, likely/unlikely branch hints, architecture-specific function attributes. We encourage you to experiment and compare the results.
Downclocking