Benchmarking Regular Expressions:
[1 2 3]
1: 'b R \bgsdegrjk\.com'
2: 'b R (\.|\/|@)gsdegrjk\.com'
Testing each regex against each line:
FAIL FAIL TA0NJ6CtUsNHo/uwj2Ln93QLLwJxRgZ1VvwDCM7PBR4/DDDc8b1RiSJgkgbvPUBn5GXfIVdC7nNz
FAIL FAIL PgPKBaqhnphQRNUT2tsncamXK4Jggj9gKb80UtjGqMI9te4G6ARVU9HznPLTfILyyP+sjdfisBeG
FAIL FAIL IC3h9pVZ32Mr5L98c/UzNTagO8EeLj0fof8py2wyBoJAxtvCkV/7w98mpBFtR2Ylz/D5+9Dz2Ucs
FAIL FAIL Y1FkjiYnq6QojlgEjbFPj05AGtSTdTGLYLf+ji+TKfQv1IXsJlIH5sLAMz8KKWl1iarWu3a82MWs
FAIL FAIL IBbUv4oLdFbJ2JXt8NPYNrhHhfLkCLSUiyg9fJICZDFour/atgRktkw9WaW/RX6TDUuCl5GZlsTi
A good resultBenchmark: timing 75000 iterations of Rule 1, Rule 2...
Rule 1: 3 wallclock secs ( 2.97 usr + 0.00 sys = 2.97 CPU) @ 25252.53/s (n=75000)
Rule 2: 21 wallclock secs (19.77 usr + 0.03 sys = 19.80 CPU) @ 3787.88/s (n=75000)
A bad result - too few iterationsBenchmark: timing 1000 iterations of Rule 1, Rule 2...
Rule 1: 0 wallclock secs ( 0.04 usr + 0.00 sys = 0.04 CPU) @ 25000.00/s (n=1000)
(warning: too few iterations for a reliable count)
Rule 2: 0 wallclock secs ( 0.27 usr + 0.00 sys = 0.27 CPU) @ 3703.70/s (n=1000)
(warning: too few iterations for a reliable count)