diff options
author | Ryan Geary <rtgnj42@gmail.com> | 2020-02-24 23:59:51 -0500 |
---|---|---|
committer | Ryan Geary <rtgnj42@gmail.com> | 2020-03-10 00:03:14 -0400 |
commit | 389c29822b2af5f4a828734eb0a2d70b4f82a900 (patch) | |
tree | 7983809185cf846c2182f0eac89654359860d91a /.gitignore | |
parent | c729ad3f004eb2313a4dfa206b7103939abeaac4 (diff) |
Improve performance and add profiling tooling
Add tags, todo, *.bench, *.svg and bench_output to .gitignore
Add test/bench.sh script. bench.sh runs the `bench` command on each
test/long*txt file with range 3:5 and saves the output to a file for
comparing performance across file sizes.
Inline printing in get_choice_slice
Change BufWriter<..stdout..> to BufWriter<T>
Add MockStdout for testing printing
Add more reverse range tests
Simplify word finding with a more uniform bounds check.
Add Makefile for generating flamegraphs
Redefine Choice struct as a start and end integer
Improve algorithm for finding words to print
Settle exclusivity at Config construction time
Add tests for nonexistant field_seps
Add regression test for preceding separator
Use handle.write instead of write! macro for tremendous speed up
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,2 +1,9 @@ /target **/*.rs.bk +tags +todo +bench_output/ +**/*.bench +**/*.svg +test/long*txt +perf.data* |