This gist shares the code used for benchmarking FXServer's password hashing/checking against the [email protected] library, as well as the results.
FXServer implements two natives for doing bcrypt hashing/checking, namely GetPasswordHash() and VerifyPasswordHash().
The tests were ran on FXServer Windows build 24574 on a 13th Gen Intel(R) Core(TM) i7-13700KF, both on the node 16 and 22 runtimes.
Add the code below to ./core/benchmark.ts, then comment out everything on ./core/index.ts and add import './benchmark'; to it.
The rest of the dev workflow should work the same.