catchpoint/WebPageTest
소개
WebPageTest 공식 저장소
기타 프로젝트측정된 스타 증가
- in 24h
- +1
- in 7 days
- +3
- in 15 days
- +5
- in 1 month
- +7
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalWebPageTest
This is the official repository for the performance-testing code that runs at webpagetest.org.
- 🥡 Install your own instance
- 📕 Documentation
- 🌐 Cross-platform browser agent
- 💤 REST API examples:
- 🐘
/bulktest: A PHP command-line tool that can submit a bulk set of tests, gather the results, and aggregate analyses. - 🐍
/batchtool: A Python tool that can submit a bulk set of tests and gather the results.
- 🐘
Troubleshooting private instances
If your instance runs, but you’re having issues configuring agents, navigate to http://{your_instance’s_ip}/install to check for a valid configuration.
Testing
WebPageTest uses PHPUnit for unit tests. To set up and run the unit tests:
- Install Composer
- Install apcu
- Add the line
apc.enable_cli='on'to your php.ini - Run
composer install - Run
composer test
Contributing
There are separate lines of development under different licenses (pull requests accepted to either):
- The
masterbranch where most active development occurs has the Polyform Shield 1.0.0 license - The
apachebranch has the more permissive Apache 2.0 license
Code style
WebPageTest uses PSR12 coding conventions for PHP linting and formatting. For JavaScript and CSS formatting we use Prettier with its default configuration. Additionally we use Stylelint for CSS linting.
Before you send a pull request please make sure to run: composer lint && composer format.
Alternatively you can run
composer lint:php && composer format:phpif you only touched PHP code, orcomposer lint:css && composer format:prettierif you only touched CSS or JavaScript code
VSCode integration
If you use VSCode you might find it helpful to install Prettier and PHP Intelephence plugins and use these in your "settings.json":
{
"[php]": {
"editor.tabSize": 4
},
// uncomment to reformat on every file save
//"editor.formatOnSave": true,
"phpcs.standard": "PSR12",
"files.trimTrailingWhitespace": true,
"files.eol": "\n",
"files.associations": {
"*.inc": "php"
}
}
관련 프로젝트 살펴보기
불러오는 중…