You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Details:
- New scenario to test: read + calculations
- Add assert for debug build. So user will not be able to build this
target in debug accidently
### Tickets:
- *ticket-id*
### AI Assistance:
- *AI assistance used: yes*
- *If yes, summarize how AI was used and what human validation was
performed (build/tests/manual checks).*
Copy file name to clipboardExpand all lines: src/core/tests/file_load_benchmark_guide.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,7 @@ is printed once at the start of the run.
34
34
35
35
| Test | Description |
36
36
|------|-------------|
37
-
|`strategies_read_memcpy`| Compares cold-cache load-and-copy performance across three strategies — `ifstream` read into a preallocated buffer, `mmap` + `memcpy`, and `mmap` + `hint_prefetch` + `memcpy`. Reports latency and throughput. |
38
37
|`strategies_mlock`| Measures the cost of making an entire file resident in memory without an additional user copy. |
39
-
|`hint_prefetch_with_offset_table`| Stresses partial-region `hint_prefetch` on a single 1200 MB file across a matrix of starting offsets and region sizes. Highlights alignment and offset effects on prefetch latency. |
38
+
|`read_into_mmap_and_compute`|**compute scenario.** Compares a `std::transform` pass over the mapped bytes (mimicking a dequantization/dtype-conversion pass) with and without a preceding synchronous `hint_prefetch`, instead of `mlock()` or `memcpy()`. Files up to 10 GB. |
39
+
|`hint_prefetch_with_offset_table`| Stresses partial-region `hint_prefetch` on a single 1200 MB file across a matrix of starting offsets and region sizes. Highlights alignment and offset effects on prefetch latency. |
0 commit comments