about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src/errors.rs
diff options
context:
space:
mode:
authorklensy <klensy@users.noreply.github.com>2024-01-23 11:46:19 +0300
committerklensy <klensy@users.noreply.github.com>2024-01-23 11:46:19 +0300
commite78d6859f7001b859bf7bacdc87c8da31f2f89e4 (patch)
tree3d5fa3b80e588b63ada02c685c0a0e920530c8e4 /compiler/rustc_pattern_analysis/src/errors.rs
parentad6432c8ef9e27a37bdb440f8deba0e3e36a58f8 (diff)
downloadrust-e78d6859f7001b859bf7bacdc87c8da31f2f89e4.tar.gz
rust-e78d6859f7001b859bf7bacdc87c8da31f2f89e4.zip
reduce bufreader size from default(8kb) to 1kb
Headers WAY less than 1kb anyway, so this can be improved more?

before

==18725== Total:     429,769,246 bytes in 957,259 blocks
==18725== At t-gmax: 8,058,316 bytes in 3,502 blocks
==18725== At t-end:  3,045,261 bytes in 1,097 blocks
==18725== Reads:     431,872,599 bytes
==18725== Writes:    214,738,653 bytes

after

==49344== Total:     201,418,575 bytes in 957,174 blocks
==49344== At t-gmax: 7,937,250 bytes in 3,310 blocks
==49344== At t-end:  3,035,637 bytes in 1,076 blocks
==49344== Reads:     431,607,448 bytes
==49344== Writes:    210,731,540 bytes
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/errors.rs')
0 files changed, 0 insertions, 0 deletions