Skip to content

[PHP] Keep filesystem roots in normalized export path lists - #507

Open
adamziel wants to merge 1 commit into
adamziel/path-utility-file-tree-root-joinsfrom
adamziel/preserve-root-in-export-path-lists
Open

[PHP] Keep filesystem roots in normalized export path lists#507
adamziel wants to merge 1 commit into
adamziel/path-utility-file-tree-root-joinsfrom
adamziel/preserve-root-in-export-path-lists

Conversation

@adamziel

@adamziel adamziel commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

normalize_path_list() no longer discards / while removing trailing slashes, so callers can retain a configured filesystem root.

Tests: cd tests && ../vendor/bin/phpunit ../tests/ExportLibraryLoadTest.php; vendor/bin/phpstan analyze --memory-limit=1G packages/reprint-server/src/export.php.

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Pull pipeline performance — large-directory

Site: large-directory · 2,000+ plus targeted file-transfer scenarios files · 10,000 posts · 25,000 postmeta · PHP 8.5.9

Stage PR trunk Δ Status Details
playground-sqlite-db-pull 9.22 s 9.09 s ⚪ +124 ms (+1.4%) condition=db-pull in PHP.wasm
runtime=php.wasm 8.3
wp_mysql_parser=enabled
mode=lexer
native_lexer=verified
native_token_stream=WP_MySQL_Native_Token_Stream
native_token_count=18
native_parser=selected
trunk: condition=db-pull in PHP.wasm
runtime=php.wasm 8.3
wp_mysql_parser=enabled
mode=lexer
native_lexer=verified
native_token_stream=WP_MySQL_Native_Token_Stream
native_token_count=18
native_parser=selected
playground-sqlite-db-apply 3.50 s 3.51 s ⚪ -4 ms (-0.1%) condition=db-apply to SQLite in PHP.wasm
runtime=php.wasm 8.3
wp_mysql_parser=enabled
mode=parser
native_lexer=verified
native_token_stream=WP_MySQL_Native_Token_Stream
native_token_count=18
native_parser=verified
native_ast=WP_MySQL_Native_Parser_Node
sqlite_driver_parser=verified
trunk: condition=db-apply to SQLite in PHP.wasm
runtime=php.wasm 8.3
wp_mysql_parser=enabled
mode=parser
native_lexer=verified
native_token_stream=WP_MySQL_Native_Token_Stream
native_token_count=18
native_parser=verified
native_ast=WP_MySQL_Native_Parser_Node
sqlite_driver_parser=verified
Total 12.72 s 12.60 s ⚪ +121 ms (+1.0%)

Numbers carry runner noise; treat single-run deltas as directional, not authoritative.

📈 Trunk performance history — commit-by-commit timeline.

@adamziel
adamziel force-pushed the adamziel/path-utility-file-tree-root-joins branch from 16f83cd to b4e61ee Compare August 7, 2026 00:54
@adamziel
adamziel force-pushed the adamziel/preserve-root-in-export-path-lists branch from b58455b to 07f55ec Compare August 7, 2026 00:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant