
The early inspiration for this project was from a post on the HostLoc forum. I tested my own website at that time because the website did not have any access frequency limits, and it easily filled the server resources. I thought that this gadget was quite interesting, so I thought I would also build a benchmark test for the website.
After asking the original author @主机玩家whether the code is open source, he finally received no reply, so he decided to write one by himself. The original website core code has been obfuscated and cannot be read, so this project only refers to the original website's ideas and redeveloped based on this.
This project is named F5 Bench, which means the website request benchmark (Fetch Benchmark). F5 can be used to represent both the refresh key on the keyboard and the abbreviation of Fetch.
The principle of this project is also very simple. It is to frequently request the target website through the Fetch API, so as to conduct request benchmark tests on the target website, which is a joke often mentioned in the HostLoc forum. It initiates a request benchmark test on the target website through F5 refresh, thereby causing the target website server resources to be fully occupied and causing crashes.
Thanks to the no-cors mode of the Fetch API, this project can bypass CORS restrictions and directly initiate cross-domain requests to the target website, thereby implementing request benchmarking.
Network requests initiated by the Fetch API will carry the IP information of the device. Therefore, please do not use this tool for any illegal purposes. This project is limited to developers who initiate request benchmark tests on their own websites. Users themselves must bear all responsibilities for all other usage scenarios. This project is not responsible for any usage scenarios.
This project uses Cloudflare Pages for deployment online demonstrations, prohibiting the use of it for illegal request benchmarking, and the hosting platform retains log files for users and usage records (only to avoid liability risks).
https://f5-bench.ikxin.com
Download the latest version of the compressed package on the Release page of this project, upload it to any static website host, and then unzip it to the website root directory.
Code with ❤️ by Forget about worry
MIT License
Copyright (c) 2024 ~ Present