mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 13:56:01 +03:00
Typo fixes
This commit is contained in:
parent
714e531134
commit
baa7e694f9
@ -245,8 +245,6 @@ $ sudo make install
|
|||||||
|
|
||||||
### Benchmarking
|
### Benchmarking
|
||||||
|
|
||||||
The source tree includes a Benchmark tool that can help measure library performance. The tool is located in the test/benchmark/ directory. The build process also creates the binary here, so you will have the tool after the compilation is finished.
|
|
||||||
|
|
||||||
The source tree includes a Benchmark tool that can help measure library performance. The tool is located in the `test/benchmark/` directory. The build process also creates the binary here, so you will have the tool after the compilation is finished.
|
The source tree includes a Benchmark tool that can help measure library performance. The tool is located in the `test/benchmark/` directory. The build process also creates the binary here, so you will have the tool after the compilation is finished.
|
||||||
|
|
||||||
To run, just type:
|
To run, just type:
|
||||||
@ -258,7 +256,7 @@ Doing 1000000 transactions...
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Okay, this is a bit much, but you can pass a lower value:
|
You can also pass a lower value:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ ./benchmark 1000
|
$ ./benchmark 1000
|
||||||
@ -275,7 +273,7 @@ user 0m0.337s
|
|||||||
sys 0m0.022s
|
sys 0m0.022s
|
||||||
```
|
```
|
||||||
|
|
||||||
This is very fast because the benchmark uses the minimal `modsecurity.conf.default` configuration, which doesn't not too much rules:
|
This is very fast because the benchmark uses the minimal `modsecurity.conf.default` configuration, which doesn't much too much rules:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ cat basic_rules.conf
|
$ cat basic_rules.conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user