From 16c727afc73c5f9790e61e5b193f3edb1ec113e3 Mon Sep 17 00:00:00 2001 From: Özgür Kesim Date: Wed, 20 Nov 2024 09:42:32 +0100 Subject: added benchmark for vickrey --- nizk/vickrey_test.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/nizk/vickrey_test.go b/nizk/vickrey_test.go index 0584359..a9b20dc 100644 --- a/nizk/vickrey_test.go +++ b/nizk/vickrey_test.go @@ -194,4 +194,10 @@ func TestAuction4on6bit(t *testing.T) { runSeal(4, 6, t) } // func TestAuction100on24bit(t *testing.T) { runSeal(100, 24, t) } -func TestVickrey4on6bit(t *testing.T) { runVickrey(4, 6, t) } +func TestVickrey4on6bit(t *testing.T) { runVickrey(4, 6, t) } +func TestVickrey100on16bit(t *testing.T) { runVickrey(100, 16, t) } +func BenchmarkVickrey100on24bit(b *testing.B) { + for range b.N { + runVickrey(100, 24, b) + } +} -- cgit v1.2.3