| ▲ | dprkh 2 hours ago | ||||||||||||||||
I used an LLM to build this https://github.com/dprkh/eventfs It has good test coverage, mostly unit tests but also a number of end-to-end tests. I also made the LLM build a benchmark, which you can find at the bottom of the readme. It is obviously slow, but I thought that it is good enough to work. When I tried to write a 1 GiB file, I found that it broke down, and after writing half the file, the speed went to under one megabyte per second. Implementation is 10k+ LoC, and I have no idea what is going on there. | |||||||||||||||||
| ▲ | jaggederest 2 hours ago | parent | next [-] | ||||||||||||||||
That's interesting because I would feed that benchmark back into the agent and loop over it, to see how much faster you could get it, and agents are really good at that kind of recursive optimization. And I would definitely add at least a simulated 1GiB write test, probably a real one honestly, if I was building something like that. At least with agent-run tests I care about loop speed a lot, but I care about complete coverage more, so having the odd heavy weight full stack integration test is fine, I think. | |||||||||||||||||
| |||||||||||||||||
| ▲ | nzeid 2 hours ago | parent | prev [-] | ||||||||||||||||
Yep. | |||||||||||||||||