mirror of
https://github.com/henrydcase/nobs.git
synced 2024-11-26 09:01:20 +00:00
Benchmark results:
------------------ BenchmarkFp512Add-4 300000000 5.17 ns/op 0 B/op 0 allocs/op BenchmarkFp512Sub-4 300000000 5.26 ns/op 0 B/op 0 allocs/op BenchmarkFp512Mul-4 300000000 5.05 ns/op 0 B/op 0 allocs/op BenchmarkCSwap-4 300000000 5.17 ns/op 0 B/op 0 allocs/op BenchmarkAddRdc-4 100000000 12.2 ns/op 0 B/op 0 allocs/op BenchmarkSubRdc-4 100000000 12.1 ns/op 0 B/op 0 allocs/op BenchmarkModExpRdc-4 30000 45833 ns/op 0 B/op 0 allocs/op BenchmarkGeneratePrivate-4 50000 27371 ns/op 1752 B/op 27 allocs/op BenchmarkValidate-4 5 232157298 ns/op 2790 B/op 43 allocs/op BenchmarkEphemeralKeyExchange-4 3 470201921 ns/op 6890 B/op 107 allocs/op BenchmarkProcessTestVectors-4 1 42344950507 ns/op 580472 B/op 3519 allocs/op BenchmarkXMul-4 3000 494248 ns/op 1 B/op 0 allocs/op BenchmarkXAdd-4 3000000 495 ns/op 0 B/op 0 allocs/op BenchmarkXDbl-4 3000000 556 ns/op 0 B/op 0 allocs/op BenchmarkMapPoint-4 1000000 2143 ns/op 0 B/op 0 allocs/op
This commit is contained in:
parent
bfcabb0b5d
commit
be4b4bca73
5
Makefile
5
Makefile
@ -12,6 +12,7 @@ BENCH_OPTS ?= -v -bench=. -run="^_"
|
||||
V ?= 0
|
||||
GOCACHE ?= off
|
||||
GOARCH ?=
|
||||
ETC_DIR = $(PRJ_DIR)/etc
|
||||
|
||||
ifeq ($(NOASM),1)
|
||||
OPTS+=$(OPTS_TAGS)
|
||||
@ -55,3 +56,7 @@ vendor-sidh-for-tls: clean
|
||||
bench: clean $(addprefix prep-,$(TARGETS))
|
||||
cd $(GOPATH_LOCAL); GOCACHE=$(GOCACHE) GOPATH=$(GOPATH_LOCAL) $(GO) test \
|
||||
$(BENCH_OPTS) ./...
|
||||
|
||||
bench_csidh: clean make_dirs $(addprefix prep-,$(TARGETS))
|
||||
cd $(GOPATH_LOCAL); GOCACHE=$(GOCACHE) GOPATH=$(GOPATH_LOCAL) $(GO) test \
|
||||
-v -bench=. -benchmem github.com/henrydcase/nobs/dh/csidh/
|
||||
|
Loading…
Reference in New Issue
Block a user