Closed osheroff closed 10 years ago
@vanchi-zendesk this stuff is ready for review. sorry for the huge size, dunno how I could have shrunk the PR
Congratulations on your sufficiently complicated program :)
Overall, this looks like a good rewrite. But now, I hate to say it, we have ruby + C + Lua.
yeah, at some point if we get really really excited we should rewrite the ruby component in C. or rewrite the C component in go. or something.
+1 after eof is handled, tests pass.
+1
@vanchi-zendesk check this out -- we can replace rails_req.c (106 lines) with test.lua (25 lines) -- should make it much easier to write new format matchers (thinking I'll go ahead and do nginx logs, whynot). haven't yet taken a stab at the work-request logs.
about 50% slower than ug_guts.c (32s vs 22s to grep through a 1gb file).
also @shajith nya nya