Skip to content

Optimize temp files removal #14

Description

@xonixx

Now synthetic test is ~twice slower compared to tush.

$ time tush-check 1000.tush 

real    0m1.055s
user    0m0.787s
sys     0m0.180s
$ time ./fhtagn.awk 1000.tush 

real    0m1.982s
user    0m1.765s
sys     0m0.294s

This is due to calling system("rm -f " stdOutF " " stdErrF) for every test. Can we call rm one time for all temp files at the end?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions