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
# symfony/console haven't been ported to PHP 8.4's `?Type`
370
+
# deprecation; out of scope to fix here).
371
+
sed -i \
372
+
-e '/Warning: Module .* is already loaded/d' \
373
+
-e '/^PHP Deprecated:/d' \
374
+
-e '/^PHP Notice:/d' \
375
+
-e '/^Deprecated:/d' \
376
+
.phpbench/report.txt
377
+
378
+
{
379
+
echo "## Benchmark report"
380
+
echo
381
+
if [ "$BASE_HAS_BENCH" = "true" ]; then
382
+
echo "Comparison against \`${{ steps.pr.outputs.base }}\` (\`${{ steps.base.outputs.sha }}\`) on \`${{ steps.pr.outputs.branch }}\` (\`$GITHUB_SHA\`)."
383
+
echo "Each row's \`mode\` column shows the head-branch absolute throughput and the percent delta vs base. Positive deltas on \`Zephir*\` subjects mean head is faster; deltas on \`Php*\` baseline subjects are noise-floor signal."
384
+
else
385
+
echo "Base branch \`${{ steps.pr.outputs.base }}\` does not yet contain the benchmark suite; absolute throughput only."
386
+
fi
387
+
echo
388
+
echo '```'
389
+
cat .phpbench/report.txt
390
+
echo '```'
391
+
echo
392
+
echo "_PHP ${{ env.PHP_VERSION }} on \`${{ runner.os }}\` (${{ runner.arch }}). Micro-benchmarks are noisy on shared runners (±5-20% per subject); treat any single-digit delta as inconclusive._"
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org).
8
8
9
9
### Added
10
10
- Compiler now recognizes the parser-emitted `yield` AST node (bare `yield;`, `yield expr;`, `yield key, value;`) [#1849](https://github.com/zephir-lang/zephir/issues/1849)
11
+
- Added PHPBench-based runtime benchmarks suites under `tests/Benchmark/`[#2541](https://github.com/zephir-lang/zephir/issues/2541)
11
12
12
13
### Changed
13
14
-`for k, v in expr` now skips the unreachable branch when the iterand's dynamic type is known [#1878](https://github.com/zephir-lang/zephir/issues/1878)
0 commit comments