I have data that I need for a web page. I have three sources for this data:
1) program that reads from the database and exports the output as JSON
2) program that checks a checksum, regenerating and exporting if necessary but just exporting most of the time
3) static file generated every 15 minutes, which means that, should the source change (rare but it does happen) the cache will be out of date for up to 15 minutes
#3 sucks, but it is the fastest. Looking at developer tools, #2 is only slightly faster than #1, according to the waterfall in Chrome's dev tools, which run once on reload, but the program I wrote using Perl, Benchmark.pm and LWP, which hits each point 200 times, puts #2 as closer to #3.
I get that Benchmark does not behave like Chrome dev tools, so I need a tool that does web dev load testing but can repeat hundreds of times to get numbers that don't just say "Yeah, the file system hiccupped then." Help? #LazyWeb
No comments:
Post a Comment