ku-fpg / sunroof-compiler

Monadic Javascript Compiler
BSD 3-Clause "New" or "Revised" License
73 stars 6 forks source link

need performance testing as part of unit tests #9

Closed andygill closed 11 years ago

andygill commented 11 years ago

We need

as well as correctness checks.

andygill commented 11 years ago

I've drafted this up, but not check it in yet.

data Timings = Timings
        { compileTime :: !NominalDiffTime        -- how long spent compiling
        , sendTime    :: !NominalDiffTime        -- how long spent sending
        , waitTime    :: !NominalDiffTime        -- how long spent waiting for a response
        }
        deriving Show
andygill commented 11 years ago

We now have a way or printing to the test in question line, so we just need to reset and read the timings now.

andygill commented 11 years ago

We have this now. We need larger examples than fib 30, though.