Skip to content

Instantly share code, notes, and snippets.

@Janmajayamall
Last active January 29, 2023 08:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Janmajayamall/fb5401e976a9954598ae523e3004b699 to your computer and use it in GitHub Desktop.
Save Janmajayamall/fb5401e976a9954598ae523e3004b699 to your computer and use it in GitHub Desktop.
OpenFhe bench for BFV (with hexl)
{
"context": {
"date": "2023-01-29T08:21:22+00:00",
"host_name": "ip-172-31-23-191",
"executable": "./lib-hexl-benchmark",
"num_cpus": 4,
"mhz_per_cpu": 3508,
"cpu_scaling_enabled": false,
"caches": [
{
"type": "Data",
"level": 1,
"size": 49152,
"num_sharing": 2
},
{
"type": "Instruction",
"level": 1,
"size": 32768,
"num_sharing": 2
},
{
"type": "Unified",
"level": 2,
"size": 1310720,
"num_sharing": 2
},
{
"type": "Unified",
"level": 3,
"size": 56623104,
"num_sharing": 4
}
],
"load_avg": [0,0.67,1.63],
"library_build_type": "release"
},
"benchmarks": [
{
"name": "BFVrns_KeyGen/32768/15",
"family_index": 0,
"per_family_instance_index": 0,
"run_name": "BFVrns_KeyGen/32768/15",
"run_type": "iteration",
"repetitions": 1,
"repetition_index": 0,
"threads": 1,
"iterations": 23,
"real_time": 3.0626865913053854e+04,
"cpu_time": 3.0626695434782603e+04,
"time_unit": "us"
},
{
"name": "BFVrns_MultKeyGen/32768/15",
"family_index": 1,
"per_family_instance_index": 0,
"run_name": "BFVrns_MultKeyGen/32768/15",
"run_type": "iteration",
"repetitions": 1,
"repetition_index": 0,
"threads": 1,
"iterations": 1,
"real_time": 5.0202297699979681e+05,
"cpu_time": 5.0203107300000015e+05,
"time_unit": "us"
},
{
"name": "BFVrns_EvalAtIndexKeyGen/32768/15",
"family_index": 2,
"per_family_instance_index": 0,
"run_name": "BFVrns_EvalAtIndexKeyGen/32768/15",
"run_type": "iteration",
"repetitions": 1,
"repetition_index": 0,
"threads": 1,
"iterations": 2,
"real_time": 4.9807083599989710e+05,
"cpu_time": 4.9805158250000002e+05,
"time_unit": "us"
},
{
"name": "BFVrns_Encryption/32768/15",
"family_index": 3,
"per_family_instance_index": 0,
"run_name": "BFVrns_Encryption/32768/15",
"run_type": "iteration",
"repetitions": 1,
"repetition_index": 0,
"threads": 1,
"iterations": 28,
"real_time": 2.5948793642880577e+04,
"cpu_time": 2.5942805357142850e+04,
"time_unit": "us"
},
{
"name": "BFVrns_Decryption/32768/15",
"family_index": 4,
"per_family_instance_index": 0,
"run_name": "BFVrns_Decryption/32768/15",
"run_type": "iteration",
"repetitions": 1,
"repetition_index": 0,
"threads": 1,
"iterations": 147,
"real_time": 4.7753635714309521e+03,
"cpu_time": 4.7738837891156436e+03,
"time_unit": "us"
},
{
"name": "BFVrns_Add/32768/15",
"family_index": 5,
"per_family_instance_index": 0,
"run_name": "BFVrns_Add/32768/15",
"run_type": "iteration",
"repetitions": 1,
"repetition_index": 0,
"threads": 1,
"iterations": 1108,
"real_time": 6.2883683844799907e+02,
"cpu_time": 6.2881746750902505e+02,
"time_unit": "us"
},
{
"name": "BFVrns_AddInPlace/32768/15",
"family_index": 6,
"per_family_instance_index": 0,
"run_name": "BFVrns_AddInPlace/32768/15",
"run_type": "iteration",
"repetitions": 1,
"repetition_index": 0,
"threads": 1,
"iterations": 2253,
"real_time": 3.1150874833561551e+02,
"cpu_time": 3.1150091167332397e+02,
"time_unit": "us"
},
{
"name": "BFVrns_AddPlain/32768/15",
"family_index": 7,
"per_family_instance_index": 0,
"run_name": "BFVrns_AddPlain/32768/15",
"run_type": "iteration",
"repetitions": 1,
"repetition_index": 0,
"threads": 1,
"iterations": 205,
"real_time": 3.3340268292682240e+03,
"cpu_time": 3.3333499756097567e+03,
"time_unit": "us"
},
{
"name": "BFVrns_Negate/32768/15",
"family_index": 8,
"per_family_instance_index": 0,
"run_name": "BFVrns_Negate/32768/15",
"run_type": "iteration",
"repetitions": 1,
"repetition_index": 0,
"threads": 1,
"iterations": 454,
"real_time": 1.5454453414089271e+03,
"cpu_time": 1.5453928436123329e+03,
"time_unit": "us"
},
{
"name": "BFVrns_Sub/32768/15",
"family_index": 9,
"per_family_instance_index": 0,
"run_name": "BFVrns_Sub/32768/15",
"run_type": "iteration",
"repetitions": 1,
"repetition_index": 0,
"threads": 1,
"iterations": 514,
"real_time": 1.3621595077826050e+03,
"cpu_time": 1.3620738112840470e+03,
"time_unit": "us"
},
{
"name": "BFVrns_SubPlain/32768/15",
"family_index": 10,
"per_family_instance_index": 0,
"run_name": "BFVrns_SubPlain/32768/15",
"run_type": "iteration",
"repetitions": 1,
"repetition_index": 0,
"threads": 1,
"iterations": 255,
"real_time": 2.7573417529400135e+03,
"cpu_time": 2.7569557568627479e+03,
"time_unit": "us"
},
{
"name": "BFVrns_MultNoRelin/32768/15",
"family_index": 11,
"per_family_instance_index": 0,
"run_name": "BFVrns_MultNoRelin/32768/15",
"run_type": "iteration",
"repetitions": 1,
"repetition_index": 0,
"threads": 1,
"iterations": 12,
"real_time": 6.6888853666644834e+04,
"cpu_time": 6.3300121666666877e+04,
"time_unit": "us"
},
{
"name": "BFVrns_MultRelin/32768/15",
"family_index": 12,
"per_family_instance_index": 0,
"run_name": "BFVrns_MultRelin/32768/15",
"run_type": "iteration",
"repetitions": 1,
"repetition_index": 0,
"threads": 1,
"iterations": 4,
"real_time": 1.6107465799996135e+05,
"cpu_time": 1.6106207400000017e+05,
"time_unit": "us"
},
{
"name": "BFVrns_MultPlain/32768/15",
"family_index": 13,
"per_family_instance_index": 0,
"run_name": "BFVrns_MultPlain/32768/15",
"run_type": "iteration",
"repetitions": 1,
"repetition_index": 0,
"threads": 1,
"iterations": 306,
"real_time": 3.5538048006552949e+03,
"cpu_time": 3.5520458300653600e+03,
"time_unit": "us"
},
{
"name": "BFVrns_EvalAtIndex/32768/15",
"family_index": 14,
"per_family_instance_index": 0,
"run_name": "BFVrns_EvalAtIndex/32768/15",
"run_type": "iteration",
"repetitions": 1,
"repetition_index": 0,
"threads": 1,
"iterations": 7,
"real_time": 1.1836108271433788e+05,
"cpu_time": 1.1517420399999979e+05,
"time_unit": "us"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment