edith
Clone
https://git.tahinli.com/Tahinli/edith.git
0 watching0 forksRust18.3 MiBff99ad6Tahinli6 days ago1055 commits
| 1 | //! What one open of a Matroska file's *sound* costs -- the walk the `Cues` do |
| 2 | //! not answer, since Matroska indexes no audio samples at all. |
| 3 | //! |
| 4 | //! `cargo run --release -p engine --example audio_open_cost -- <file> [repeats]` |
| 5 | //! |
| 6 | //! Prints one line per open in milliseconds and the block count it found; the |
| 7 | //! first line is the cold one (no sidecar yet), the rest are what a reopen costs |
| 8 | //! once the walk has been written down. |
| 9 | |
| 10 | use PathBuf; |
| 11 | use Instant; |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 |