Skip to content

Commit

Permalink
fix: improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
aMahanna committed Dec 16, 2023
1 parent 3260723 commit bca1b1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark/compare.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def __init__(
self.operation_name = operation_name
self.main_span_duration = main_duration
self.branch_span_duration = branch_duration
self.improvement = f"{round((1 - main_duration / branch_duration) * 100)}%"
self.improvement = f"{round((1 - branch_duration / main_duration) * 100)}%"
self.children: dict[str, "DiffSpan"] = {}

def add_child(self, span_id: str, child: "DiffSpan"):
Expand Down

0 comments on commit bca1b1d

Please sign in to comment.