mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 03:55:04 -05:00
feat(benchmarks): add source code information to benchmarks
This commit is contained in:
@@ -308,7 +308,11 @@ def main():
|
||||
raise RuntimeError(f"Target `{target_name}` is already registered")
|
||||
|
||||
# Create an entry in the result for the current target
|
||||
result["targets"][target_id] = {"name": target_name, "measurements": {}}
|
||||
result["targets"][target_id] = {
|
||||
"name": target_name,
|
||||
"measurements": {},
|
||||
"code": "\n".join(lines),
|
||||
}
|
||||
|
||||
# Create a dictionary to hold `metric_id` to `metric_name`
|
||||
metrics = {}
|
||||
|
||||
Reference in New Issue
Block a user