In Gemma 4 E2B on an Intel Iris Xe Laptop: Vulkan, SYCL, OpenVINO or the CPU?, xbill compares four builds of the same llama.cpp revision on an Intel Core i5-1335U laptop. Each build uses the same quantized Gemma model file. The experiment gives two answers to the question of which backend is fastest, depending on whether the backend is processing a prompt or generating a response.
Measure prompt processing and generation separately
In the 512-token prompt benchmark, Vulkan processed about 360 tokens per second while the 12-thread CPU build managed about 98. In the separate 128-token generation benchmark, the CPU reached about 26 tokens per second and Vulkan about 21. OpenVINO landed near Vulkan on both tests, with much wider variation across the reported prompt runs. SYCL trailed the other GPU builds on both measures. The author's benchmark records and calculations give the exact rates.
For a document assistant that frequently receives long, uncached inputs and returns brief answers, the prompt rate could drive much of the wait. An interactive session that starts from a short prompt and streams a long answer could be more sensitive to generation speed. To choose a configuration for either workload, measure time to first token and time to complete the answer using inputs and output lengths typical of that workload. The microbenchmarks isolate the two phases and provide a starting point for that test.
Include startup and memory in the comparison
On this laptop, the initial OpenVINO GPU configuration ran out of memory during loading. The author reports completing the benchmark after changing three memory settings, including supplying a spill directory and keeping host weights available for compilation of the generation graph. That startup failure would disappear from a comparison that recorded only rates from successful runs. A repeatable comparison should record whether each configuration starts under the available memory budget and keep startup timing separate from steady-state throughput. The reported tests measured speed on a specific configuration. They leave answer quality and performance on other hardware open.