Re:Automatic Generation of Regular Expressions from Examples
by enraged_camel on Monday October 22, 2012 @02:48PM
(#4684748)
I didn't give suggestions on how to test it because I figured someone who knows how to automatically generate regular expressions from examples would also know how to test it under load (or that it should be tested before being made public). It should not be that difficult to simulate simple user behavior, especially since the majority of the functionality in this case is tied to (presumably) one method in the code. Run it 100/1,000/10,000 times simultaneously behind the scenes with a bunch of test examples and see if your server vomits. Pretty easy.
Honestly, I'm a bit dismayed that you are challenging me on this. "Load-test your code before releasing it" should be a strict requirement for anything that is submitted here. Otherwise, how are people expected to give feedback? Why is our time being wasted on stuff that does not work?
Re:Automatic Generation of Regular Expressions from Examples
by ColinWright on Monday October 22, 2012 @03:56PM
(#4685171)
Hmm.
You do realize, do you not, that it's not my code. Or my server. I'm just sharing something I found.
How can one tell if the server is going to be able to handle the load? Perhaps the owners had anticipated that this would be of interest and were ready to handle it?
How could I tell?
I think it's a reasonable expectation in a community of geeks that if you are to level criticism at me, then you should offer alternatives and constructive suggestions, and I look forward to your reply as to what one should do when considering submitting a link like this.
How would you test it?