feat: use tracing crate to measure cpu time
This commit is contained in:
parent
80fe2c6d83
commit
0a5e25e4f0
8 changed files with 289 additions and 104 deletions
4
examples/single-page/script/generate_test_file
Executable file
4
examples/single-page/script/generate_test_file
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# generate a 10MB test file
|
||||
< /dev/urandom tr -dc "[:alnum:]" | head -c10000000 > file.txt
|
||||
Loading…
Add table
Add a link
Reference in a new issue