Update performance.md
This commit is contained in:
parent
697bafdd0a
commit
fd836145fe
|
@ -156,11 +156,9 @@ On Intel and AMD Windows platforms, Microsoft Visual Studio enables programmers
|
|||
|
||||
When compiling with Visual Studio, we recommend the flags `/Ob2 /O2` or better. We do not recommend that you compile simdjson with architecture-specific flags such as `arch:AVX2`. The simdjson library automatically selects the best execution kernel at runtime.
|
||||
|
||||
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. And [the Clang compiler is binary compatible with Visual Studio](Meanwhile [clangcl is binary compatible with visual studio](https://clang.llvm.org/docs/MSVCCompatibility.html) which means that you can mix them.
|
||||
|
||||
|
||||
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.
|
||||
|
||||
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.
|
||||
Under Windows, we also support the GNU GCC compiler via MSYS2. The performance is excellent.
|
||||
|
||||
|
||||
Downclocking
|
||||
|
|
Loading…
Reference in New Issue