From 75cba0714ef7ba44f4f153b32f23e21086746ea6 Mon Sep 17 00:00:00 2001
From: STEVAN Antoine <antoine.stevan@isae-supaero.fr>
Date: Fri, 5 Jul 2024 14:22:28 +0000
Subject: [PATCH] add more curves to linalg benchmarks (dragoon/komodo!156)

## results
> :bulb: **Note**
>
> using the improved plots from https://gitlab.isae-supaero.fr/dragoon/komodo/-/merge_requests/153

![inverse](/uploads/9368bc1b23a8f8772a05b8c8bab85b96/inverse.png)
![mul](/uploads/62b9633f47360c01ffbc92fdf15afcbe/mul.png)
![transpose](/uploads/c6892261d27306037a0a2a614f93d584/transpose.png)
---
 benchmarks/src/bin/linalg.rs | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/benchmarks/src/bin/linalg.rs b/benchmarks/src/bin/linalg.rs
index 0c7ccb4c..022c4e20 100644
--- a/benchmarks/src/bin/linalg.rs
+++ b/benchmarks/src/bin/linalg.rs
@@ -56,15 +56,24 @@ fn main() {
         inverse_template::<ark_bn254::Fr>(&b.with_name("BN254"), n);
         inverse_template::<ark_pallas::Fr>(&b.with_name("PALLAS"), n);
         inverse_template::<benchmarks::fields::Fq128>(&b.with_name("small"), n);
+        inverse_template::<ark_ed_on_mnt4_298::Fr>(&b.with_name("ED-MNT4-298"), n);
+        inverse_template::<ark_cp6_782::Fr>(&b.with_name("CP6-782"), n);
+        inverse_template::<ark_mnt4_753::Fr>(&b.with_name("MNT4-753"), n);
 
         transpose_template::<ark_bls12_381::Fr>(&b.with_name("BLS12-381"), n);
         transpose_template::<ark_bn254::Fr>(&b.with_name("BN254"), n);
         transpose_template::<ark_pallas::Fr>(&b.with_name("PALLAS"), n);
         transpose_template::<benchmarks::fields::Fq128>(&b.with_name("small"), n);
+        transpose_template::<ark_ed_on_mnt4_298::Fr>(&b.with_name("ED-MNT4-298"), n);
+        transpose_template::<ark_cp6_782::Fr>(&b.with_name("CP6-782"), n);
+        transpose_template::<ark_mnt4_753::Fr>(&b.with_name("MNT4-753"), n);
 
         mul_template::<ark_bls12_381::Fr>(&b.with_name("BLS12-381"), n);
         mul_template::<ark_bn254::Fr>(&b.with_name("BN254"), n);
         mul_template::<ark_pallas::Fr>(&b.with_name("PALLAS"), n);
         mul_template::<benchmarks::fields::Fq128>(&b.with_name("small"), n);
+        mul_template::<ark_ed_on_mnt4_298::Fr>(&b.with_name("ED-MNT4-298"), n);
+        mul_template::<ark_cp6_782::Fr>(&b.with_name("CP6-782"), n);
+        mul_template::<ark_mnt4_753::Fr>(&b.with_name("MNT4-753"), n);
     }
 }
-- 
GitLab