News for hackers. Stuff that matters.
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.