Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This was run on an AWS gp3 SSD EBS volume with 3k IOPS. It was a CPU optimized c6i.xlarge machine. The file in question was 200 GB.

I used "quite some time" because this happened months ago and I don't recall the exact time on the delete. I don't think deleting a line was any faster than doing a find / replace on 1 line. If sed is reading and writing the file in both cases I'd expect both to have the same performance.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: