Commit a7c4bcd
chore: remove unnecessary black_box in divan and bencher compat layers
Apply the same optimization from PR 98 to both divan and bencher compat layers:
- Remove black_box around routine calls during measurement
- Only apply black_box to outputs after measurement ends
- Reduces stack usage and eliminates unnecessary memory operations
- Improves benchmark performance by avoiding artificial overhead
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent fc76872 commit a7c4bcd
2 files changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
| 102 | + | |
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
| |||
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
113 | | - | |
| 114 | + | |
114 | 115 | | |
| 116 | + | |
115 | 117 | | |
116 | 118 | | |
0 commit comments