Commit dcbc1c7
authored
Improve performance of
* Simplify, improve the performance of `on_frame` by ~40%
* Temporarily add the `performance_tracker.py` to test performance on another PC
* Remove temporarily `performance_tracker.py` and references
* The default dynamic range that does not require scaling on simulated camera is 255, not 256.VideoStreamFrame.on_frame (#131)1 parent a46596a commit dcbc1c7
File tree
2 files changed
+10
-18
lines changed- src/instamatic
- config/camera
- gui
2 files changed
+10
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
259 | 251 | | |
260 | 252 | | |
261 | 253 | | |
| |||
0 commit comments