Tag: iis

  • Clojure script to parse IIS logs from a directory and show slowest pages

    Just having some fun today. The code runs actually pretty fast: It reads over 1.5 million lines from 1.1GB of logs and sorts them by time-taken in 5 seconds. I bet there’s room for improvement but it was enough for my needs. (ns iis_log (:require clojure.contrib.duck-streams clojure.contrib.io clojure.string clojure.test)) (def #^{:doc “Where the log files…