Skip to content

Commit 881668c

Browse files
committed
deps: add loong64 into openssl Makefile and gen openssl(asm)
Thank you, zhoumingtao and liujiahui, for your test on the LoongArch machine, which can demonstrate the performance improvement of nodejs using openssl-asm. Thank you run shell: ./node benchmark/compare.js --old ./out/Release/node \ --new ./out-asm/Release/node crypto > crypte-benchmark.csv LoongArch 3C5000-Server crypto/aes-gcm-throughput.js 8.42% crypto/keygen.js 54.37% crypto/oneshot-hash.js 3.41% crypto/oneshot-sign.js 31.03% crypto/oneshot-verify.js 21.55% crypto/randomBytes.js 10.87% crypto/randomInt.js 4.48% crypto/randomUUID.js 2.02% crypto/rsa-encrypt-decrypt-throughput.js 63.27% crypto/rsa-sign-verify-throughput.js 17.23% crypto/rsa-sign-verify-throughput.js len='1024' 17.23% LoongArch 3A6000-PC crypto/aes-gcm-throughput.js 10.84% crypto/keygen.js 56.33% crypto/oneshot-sign.js 31.08% crypto/oneshot-verify.js 24.38% crypto/randomBytes.js 21.28% crypto/randomInt.js 5.58% crypto/randomUUID.js 6.05% crypto/rsa-encrypt-decrypt-throughput.js 60.96% crypto/rsa-sign-verify-throughput.js len='1024' 20.22% Teted-by: zhoumingtao <zhoumingtao@loongson.cn> Teted-by: liujiahui <liujiahui@loongson.cn>
1 parent 6cff903 commit 881668c

127 files changed

Lines changed: 109867 additions & 2 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎deps/openssl/config/Makefile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ ASM_ARCHS = aix64-gcc-as BSD-x86 BSD-x86_64 \
1313
darwin64-x86_64-cc darwin-i386-cc darwin64-arm64-cc linux-aarch64 \
1414
linux-armv4 linux-elf linux-x86_64 \
1515
linux-ppc64le linux32-s390x linux64-s390x linux64-mips64\
16-
linux64-riscv64 \
16+
linux64-riscv64 linux64-loongarch64 \
1717
solaris-x86-gcc solaris64-x86_64-gcc VC-WIN64A VC-WIN32
1818

19-
NO_ASM_ARCHS = VC-WIN64-ARM linux64-loongarch64
19+
NO_ASM_ARCHS = VC-WIN64-ARM
2020

2121
CC = gcc
2222
FAKE_GCC = ../config/fake_gcc.pl

0 commit comments

Comments
 (0)