https://github.com/johnfercher/apis
https://github.com/johnfercher/apis
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/johnfercher/apis
- Owner: johnfercher
- License: mit
- Created: 2021-09-12T22:32:22.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-09-17T02:38:44.000Z (over 4 years ago)
- Last Synced: 2025-01-27T09:12:14.766Z (over 1 year ago)
- Language: C#
- Size: 81.1 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# APIs
## Usage
```bash
bash generate_lines_quantity.sh v1
bash generate_files_quantity.sh v1
bash generate_bar_charts.sh v1
```
## Requirements
* [Requirements V1](docs/v1/requirements.md)
## Results
* [Results V1](docs/v1/results.md)
## Benchmarks
### Outputs
1. Coded files count;
2. Coded lines count;
3. Response time;
4. Memory usage;
5. CPU usage;
### Tools
#### AlDanial/cloc
[cloc][cloc] counts blank lines, comment lines, and physical lines of source
code in many programming languages.
> Will be used to calculate output 1 (coded files count) and 2 (coded lines count);
#### tsenart/vegeta
[Vegeta][vegeta] is a versatile HTTP load testing tool built out of a need to
drill HTTP services with a constant request rate. It can be used both as a command line utility
and a library.
> Will be used to calculate output 3 (response time)
#### gnuplot
[gnuplot][gnuplot] is a portable command-line driven graphing utility for Linux, OS/2, MS Windows,
OSX, VMS, and many other platforms.
> Will be used to generate chart;
## References
### Rust
* [Creating a Rest API in Rust With Warp][rustapi]
[rustapi]: https://blog.logrocket.com/creating-a-rest-api-in-rust-with-warp/
[cloc]: https://github.com/AlDanial/cloc
[vegeta]: https://github.com/tsenart/vegeta
[gnuplot]: http://www.gnuplot.info/