counted-float 0.8.1__tar.gz → 0.8.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. {counted_float-0.8.1 → counted_float-0.8.2}/PKG-INFO +9 -8
  2. {counted_float-0.8.1 → counted_float-0.8.2}/README.md +8 -7
  3. {counted_float-0.8.1 → counted_float-0.8.2}/pyproject.toml +1 -1
  4. {counted_float-0.8.1 → counted_float-0.8.2}/.gitignore +0 -0
  5. {counted_float-0.8.1 → counted_float-0.8.2}/LICENSE +0 -0
  6. {counted_float-0.8.1 → counted_float-0.8.2}/counted_float/__init__.py +0 -0
  7. {counted_float-0.8.1 → counted_float-0.8.2}/counted_float/_core/__init__.py +0 -0
  8. {counted_float-0.8.1 → counted_float-0.8.2}/counted_float/_core/_backwards_compat.py +0 -0
  9. {counted_float-0.8.1 → counted_float-0.8.2}/counted_float/_core/_optional_deps.py +0 -0
  10. {counted_float-0.8.1 → counted_float-0.8.2}/counted_float/_core/benchmarking/__init__.py +0 -0
  11. {counted_float-0.8.1 → counted_float-0.8.2}/counted_float/_core/benchmarking/_flops_benchmark_suite.py +0 -0
  12. {counted_float-0.8.1 → counted_float-0.8.2}/counted_float/_core/benchmarking/_flops_micro_benchmark.py +0 -0
  13. {counted_float-0.8.1 → counted_float-0.8.2}/counted_float/_core/benchmarking/_micro_benchmark.py +0 -0
  14. {counted_float-0.8.1 → counted_float-0.8.2}/counted_float/_core/benchmarking/_models.py +0 -0
  15. {counted_float-0.8.1 → counted_float-0.8.2}/counted_float/_core/benchmarking/_time_utils.py +0 -0
  16. {counted_float-0.8.1 → counted_float-0.8.2}/counted_float/_core/counting/__init__.py +0 -0
  17. {counted_float-0.8.1 → counted_float-0.8.2}/counted_float/_core/counting/_builtin_data.py +0 -0
  18. {counted_float-0.8.1 → counted_float-0.8.2}/counted_float/_core/counting/_context_managers.py +0 -0
  19. {counted_float-0.8.1 → counted_float-0.8.2}/counted_float/_core/counting/_counted_float.py +0 -0
  20. {counted_float-0.8.1 → counted_float-0.8.2}/counted_float/_core/counting/_global_counter.py +0 -0
  21. {counted_float-0.8.1 → counted_float-0.8.2}/counted_float/_core/counting/config/__init__.py +0 -0
  22. {counted_float-0.8.1 → counted_float-0.8.2}/counted_float/_core/counting/config/_config.py +0 -0
  23. {counted_float-0.8.1 → counted_float-0.8.2}/counted_float/_core/counting/config/_defaults.py +0 -0
  24. {counted_float-0.8.1 → counted_float-0.8.2}/counted_float/_core/counting/models/__init__.py +0 -0
  25. {counted_float-0.8.1 → counted_float-0.8.2}/counted_float/_core/counting/models/_base.py +0 -0
  26. {counted_float-0.8.1 → counted_float-0.8.2}/counted_float/_core/counting/models/_flop_counts.py +0 -0
  27. {counted_float-0.8.1 → counted_float-0.8.2}/counted_float/_core/counting/models/_flop_type.py +0 -0
  28. {counted_float-0.8.1 → counted_float-0.8.2}/counted_float/_core/counting/models/_flop_weights.py +0 -0
  29. {counted_float-0.8.1 → counted_float-0.8.2}/counted_float/_core/counting/models/_flops_benchmark_result.py +0 -0
  30. {counted_float-0.8.1 → counted_float-0.8.2}/counted_float/_core/counting/models/_fpu_instruction.py +0 -0
  31. {counted_float-0.8.1 → counted_float-0.8.2}/counted_float/_core/counting/models/_fpu_specs.py +0 -0
  32. {counted_float-0.8.1 → counted_float-0.8.2}/counted_float/_core/data/__init__.py +0 -0
  33. {counted_float-0.8.1 → counted_float-0.8.2}/counted_float/_core/data/benchmarks/__init__.py +0 -0
  34. {counted_float-0.8.1 → counted_float-0.8.2}/counted_float/_core/data/benchmarks/apple_m3_max.json +0 -0
  35. {counted_float-0.8.1 → counted_float-0.8.2}/counted_float/_core/data/benchmarks/intel_i5_7200u.json +0 -0
  36. {counted_float-0.8.1 → counted_float-0.8.2}/counted_float/_core/data/benchmarks/intel_i7_1265u.json +0 -0
  37. {counted_float-0.8.1 → counted_float-0.8.2}/counted_float/_core/data/specs/__init__.py +0 -0
  38. {counted_float-0.8.1 → counted_float-0.8.2}/counted_float/_core/data/specs/amd_zen4_r9_7900x.json +0 -0
  39. {counted_float-0.8.1 → counted_float-0.8.2}/counted_float/_core/data/specs/intel_gen11_tiger_lake.json +0 -0
  40. {counted_float-0.8.1 → counted_float-0.8.2}/counted_float/benchmarking/__init__.py +0 -0
  41. {counted_float-0.8.1 → counted_float-0.8.2}/counted_float/config/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: counted-float
3
- Version: 0.8.1
3
+ Version: 0.8.2
4
4
  Summary: Count floating-point operations in Python code & benchmark relative flop costs.
5
5
  Project-URL: Source, https://github.com/bertpl/counted-float
6
6
  Project-URL: Issues, https://github.com/bertpl/counted-float/issues
@@ -15,11 +15,12 @@ Requires-Dist: numpy>=1.20; extra == 'benchmarking'
15
15
  Requires-Dist: psutil>=5.0; extra == 'benchmarking'
16
16
  Description-Content-Type: text/markdown
17
17
 
18
- <!--START_SECTION:badges-->
19
- ![shields.io](https://img.shields.io/badge/python-3.10%20%7C%203.11%20%7C%203.12%20%7C%203.13-blue)
20
- ![genbadge](https://bertpl.github.io/counted-float/badges/v0.8.1/tests.svg)
21
- ![genbadge](https://bertpl.github.io/counted-float/badges/v0.8.1/coverage.svg)
22
- <!--END_SECTION:badges-->
18
+ <!--START_SECTION:images-->
19
+ ![shields.io-python-versions](https://img.shields.io/badge/python-3.10%20%7C%203.11%20%7C%203.12%20%7C%203.13-blue)
20
+ ![genbadge-test-count](https://bertpl.github.io/counted-float/version_artifacts/v0.8.2/badge-test-count.svg)
21
+ ![genbadge-test-coverage](https://bertpl.github.io/counted-float/version_artifacts/v0.8.2/badge-coverage.svg)
22
+ ![counted_float logo](https://bertpl.github.io/counted-float/version_artifacts/v0.8.2/splash.webp)
23
+ <!--END_SECTION:images-->
23
24
 
24
25
  # counted-float
25
26
 
@@ -118,7 +119,7 @@ cf2 = CountedFloat(2.94)
118
119
  with FlopCountingContext() as ctx:
119
120
  _ = cf1 * cf2
120
121
  ctx.pause()
121
- _ = cf1 + cf2 # will be executed but bot counted
122
+ _ = cf1 + cf2 # will be executed but not counted
122
123
  ctx.resume()
123
124
  _ = cf1 - cf2
124
125
 
@@ -137,7 +138,7 @@ cf2 = CountedFloat(2.94)
137
138
  with FlopCountingContext() as ctx:
138
139
  _ = cf1 * cf2
139
140
  with PauseFlopCounting():
140
- _ = cf1 + cf2 # will be executed but bot counted
141
+ _ = cf1 + cf2 # will be executed but not counted
141
142
  _ = cf1 - cf2
142
143
 
143
144
  counts = ctx.flop_counts() # {FlopType.MUL: 1, FlopType.SUB: 1}
@@ -1,8 +1,9 @@
1
- <!--START_SECTION:badges-->
2
- ![shields.io](https://img.shields.io/badge/python-3.10%20%7C%203.11%20%7C%203.12%20%7C%203.13-blue)
3
- ![genbadge](https://bertpl.github.io/counted-float/badges/v0.8.1/tests.svg)
4
- ![genbadge](https://bertpl.github.io/counted-float/badges/v0.8.1/coverage.svg)
5
- <!--END_SECTION:badges-->
1
+ <!--START_SECTION:images-->
2
+ ![shields.io-python-versions](https://img.shields.io/badge/python-3.10%20%7C%203.11%20%7C%203.12%20%7C%203.13-blue)
3
+ ![genbadge-test-count](https://bertpl.github.io/counted-float/version_artifacts/v0.8.2/badge-test-count.svg)
4
+ ![genbadge-test-coverage](https://bertpl.github.io/counted-float/version_artifacts/v0.8.2/badge-coverage.svg)
5
+ ![counted_float logo](https://bertpl.github.io/counted-float/version_artifacts/v0.8.2/splash.webp)
6
+ <!--END_SECTION:images-->
6
7
 
7
8
  # counted-float
8
9
 
@@ -101,7 +102,7 @@ cf2 = CountedFloat(2.94)
101
102
  with FlopCountingContext() as ctx:
102
103
  _ = cf1 * cf2
103
104
  ctx.pause()
104
- _ = cf1 + cf2 # will be executed but bot counted
105
+ _ = cf1 + cf2 # will be executed but not counted
105
106
  ctx.resume()
106
107
  _ = cf1 - cf2
107
108
 
@@ -120,7 +121,7 @@ cf2 = CountedFloat(2.94)
120
121
  with FlopCountingContext() as ctx:
121
122
  _ = cf1 * cf2
122
123
  with PauseFlopCounting():
123
- _ = cf1 + cf2 # will be executed but bot counted
124
+ _ = cf1 + cf2 # will be executed but not counted
124
125
  _ = cf1 - cf2
125
126
 
126
127
  counts = ctx.flop_counts() # {FlopType.MUL: 1, FlopType.SUB: 1}
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "counted-float"
3
- version = "0.8.1"
3
+ version = "0.8.2"
4
4
  description = "Count floating-point operations in Python code & benchmark relative flop costs."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
File without changes
File without changes