Gudhein3's personal blog: The test with 4000 posts
Written at Tue Sep 22 12:57:52 2026 - MSK
GitHub
CodeBerg
ShaderToy
Source code of this page
Home page
I did a simple test to check the performance of my blog system, the result is .202s for 4000 posts.
For the test, I specifically wrote this python script to generate 4000 posts:
formt = "Lorem ipsum %%\n%%\n%%\n--------------------\n"
with open("posts.test.txt", 'w') as f:
for i in range(4000):
f.write(formt.replace("%%", str(i)))
And compiled that posts on my laptop with a Kingston OM3PDP3 NVMe SSD and installed btrfs.
The information above is important because my system generates a separated HTML file for each post, hence does a lot of work on the disk.
Linux of course does a lot of job with caching, but I think the affect is negligible and we can ignore it.