Friday, June 20, 2008

KBps / LoC

Here's an interesting metric that sheds some more light on the Wide Finder 2 results. I took the overall throughput of each entry in kilobytes per second, and divided it by the total Lines of Code reported by each submitter. The intent was to capture the efficiency of the underlying language and algorithmic style, sort of a bang-for-buck comparison, and I think it's a pretty effective scalar metric to that effect.

It's interesting to see how high Brian Frank's Fan entry and Alex Morega's Python entry rank, and how much lower some of the other entries ended up. Since so many of the entries in the results table did not report a simple line count, the LoC listed here may not be what the submitter intended, but it was the best I could do with the data. Let me know if there's something you'd like me to change.

1 comment:

  1. That is fascinating. I think you should add a column to the table on the results wiki page.

    ReplyDelete