Skip to content

Commit 68e11d9

Browse files
committed
docs: benchmarks README covers news-page.php alongside the SmartString matrix pointer
1 parent de972bc commit 68e11d9

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

benchmarks/README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
# Benchmarks
22

3-
SmartArray's speed benchmarks live in the SmartString repository: one shared
4-
matrix covers both libraries, since SmartArray's hot paths (field access,
5-
iteration) end in SmartString output.
3+
`news-page.php` measures a realistic 25-record news page with SmartArrayHtml
4+
against plain arrays with `htmlspecialchars()`; every number in
5+
[docs/performance.md](../docs/performance.md) comes from it (the run command
6+
is on that page).
7+
8+
SmartArray's per-operation speed benchmarks live in the SmartString
9+
repository: one shared matrix covers both libraries, since SmartArray's hot
10+
paths (field access, iteration) end in SmartString output.
611

712
In [interactivetools-com/SmartString](https://github.com/interactivetools-com/SmartString):
813

0 commit comments

Comments
 (0)