Skip to content

Instantly share code, notes, and snippets.

@swolchok
Created March 8, 2023 20:18
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 swolchok/8bd4ca61e156827f23bb54ca3b48d54f to your computer and use it in GitHub Desktop.
Save swolchok/8bd4ca61e156827f23bb54ca3b48d54f to your computer and use it in GitHub Desktop.
benchmark output for dict annotation_str optimization
Nesting level: 1
output: Dict[str, Tuple[str, str]]
<torch.utils.benchmark.utils.common.Measurement object at 0x7f8a3a31ff40>
x.annotation_str
Median: 20.85 us
IQR: 0.67 us (20.55 to 21.22)
95 measurements, 100 runs per measurement, 1 thread
Nesting level: 3
output: Dict[str, Tuple[Dict[str, Tuple[Dict[str, Tuple[str, str]], Dict[str,
<torch.utils.benchmark.utils.common.Measurement object at 0x7f8a3a31fe80>
x.annotation_str
Median: 57.59 us
IQR: 3.53 us (55.84 to 59.38)
35 measurements, 100 runs per measurement, 1 thread
Nesting level: 5
output: Dict[str, Tuple[Dict[str, Tuple[Dict[str, Tuple[Dict[str, Tuple[Dict[s
<torch.utils.benchmark.utils.common.Measurement object at 0x7f8a3a31ff40>
x.annotation_str
Median: 204.34 us
IQR: 15.78 us (197.60 to 213.38)
80 measurements, 10 runs per measurement, 1 thread
Nesting level: 10
output: Dict[str, Tuple[Dict[str, Tuple[Dict[str, Tuple[Dict[str, Tuple[Dict[s
<torch.utils.benchmark.utils.common.Measurement object at 0x7f8a3a31fe80>
x.annotation_str
Median: 6.26 ms
IQR: 0.28 ms (6.09 to 6.38)
30 measurements, 1 runs per measurement, 1 thread
second run:
Nesting level: 1
output: Dict[str, Tuple[str, str]]
<torch.utils.benchmark.utils.common.Measurement object at 0x7f6039364f10>
x.annotation_str
Median: 19.11 us
IQR: 1.10 us (18.60 to 19.70)
105 measurements, 100 runs per measurement, 1 thread
Nesting level: 3
output: Dict[str, Tuple[Dict[str, Tuple[Dict[str, Tuple[str, str]], Dict[str,
<torch.utils.benchmark.utils.common.Measurement object at 0x7f6039364eb0>
x.annotation_str
Median: 57.13 us
IQR: 2.67 us (56.08 to 58.76)
35 measurements, 100 runs per measurement, 1 thread
Nesting level: 5
output: Dict[str, Tuple[Dict[str, Tuple[Dict[str, Tuple[Dict[str, Tuple[Dict[s
<torch.utils.benchmark.utils.common.Measurement object at 0x7f6039364f10>
x.annotation_str
Median: 199.50 us
IQR: 22.21 us (190.54 to 212.76)
83 measurements, 10 runs per measurement, 1 thread
WARNING: Interquartile range is 11.1% of the median measurement.
This could indicate system fluctuation.
Nesting level: 10
output: Dict[str, Tuple[Dict[str, Tuple[Dict[str, Tuple[Dict[str, Tuple[Dict[s
<torch.utils.benchmark.utils.common.Measurement object at 0x7f6039364eb0>
x.annotation_str
Median: 6.48 ms
IQR: 0.61 ms (6.05 to 6.66)
29 measurements, 1 runs per measurement, 1 thread
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment