Repository navigation
Conversation
tests/performance sets up three identical Joomla sites (no bfstop, the plugin as of 1.5.2, the current checkout) and measures what the plugin costs: installed size, per-request time/CPU/memory/PHP files/SQL queries for page views, failed logins, blocking and blocked requests (with differently sized tables), throughput under concurrent load, database growth per failed login, and the queries sent to bfstop's tables. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PtohRckRkeL2TVCfEhc7oJ
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PtohRckRkeL2TVCfEhc7oJ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
tests/performance/, a local (not CI) harness comparing what the plugin costs a Joomla site in two versions - by default tag1.5.2vs.HEAD- against a site without bfstop.setup-sites.shinstalls three identical Joomla 5.4.8 sites (none / baseline / current), each plugin from the release zip its owndeploy.sh zipbuilds, with default settings.bench.phpserves them with PHP's built-in server (OPcache on) and measures, via a smallauto_prepend_file(prepend.php):report.md+results.json+ raw per-request metrics.run.shdoes both steps;README.mddocuments requirements, options and caveats.Notes
User-Agentand use a new user name per failed login: without that the current version's risk score / account throttle add deliberate multi-second sleeps that would swamp the measurement (documented in the README).Test plan
--quickruns end to end (sequential, throughput, growth, query trace) and the report renderssetup-sites.shverified from scratch and re-run on existing sitesphp -lon the new files🤖 Generated with Claude Code
https://claude.ai/code/session_01PtohRckRkeL2TVCfEhc7oJ
Generated by Claude Code