aboutsummaryrefslogtreecommitdiff
path: root/nizk/vickrey_test.go
diff options
context:
space:
mode:
authorÖzgür Kesim <oec@codeblau.de>2024-11-20 09:42:32 +0100
committerÖzgür Kesim <oec@codeblau.de>2024-11-20 09:42:32 +0100
commit16c727afc73c5f9790e61e5b193f3edb1ec113e3 (patch)
treeae8637148f72b08feb815bdc79bec1aba3fe1c58 /nizk/vickrey_test.go
parenta21be33ba1d12bdfceb0eaf520dc3fba3472a8ec (diff)
added benchmark for vickrey
Diffstat (limited to 'nizk/vickrey_test.go')
-rw-r--r--nizk/vickrey_test.go8
1 files changed, 7 insertions, 1 deletions
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)
+ }
+}