Skip to content

Instantly share code, notes, and snippets.

@athas
Created April 13, 2020 12:16
Show Gist options
  • Select an option

  • Save athas/32c3aadf90227fab01b369867165917e to your computer and use it in GitHub Desktop.

Select an option

Save athas/32c3aadf90227fab01b369867165917e to your computer and use it in GitHub Desktop.
Sun Apr 12 12:40 2020 Time and Allocation Profiling Report (Final)
bench-ray +RTS -p -RTS rendering/rgbbox/200x200
total time = 15.28 secs (15281 ticks @ 1000 us, 1 processor)
total alloc = 8,437,413,448 bytes (excludes profiling overheads)
COST CENTRE MODULE SRC %time %alloc
aabbHit Raytracing Raytracing.hs:(73,1)-(97,41) 46.1 0.0
objsHit Raytracing Raytracing.hs:(100,1)-(109,63) 29.1 72.1
sphereHit Raytracing Raytracing.hs:(49,1)-(68,54) 13.4 10.4
rayColour Raytracing Raytracing.hs:(158,1)-(169,64) 2.3 2.7
sched Control.Monad.Par.Scheds.TraceInternal Control/Monad/Par/Scheds/TraceInternal.hs:(60,1)-(106,18) 1.4 4.0
scatter Raytracing Raytracing.hs:(149,1)-(155,17) 1.4 0.0
pointAtParam Raytracing Raytracing.hs:29:1-59 1.3 0.0
mkImage Image Image.hs:(33,1)-(36,64) 0.6 1.6
spawn Control.Monad.Par.Scheds.Trace Control/Monad/Par/Scheds/Trace.hs:43:1-55 0.6 1.3
parMap Control.Monad.Par.Combinator Control/Monad/Par/Combinator.hs:41:1-47 0.4 1.6
+ Vec3 Vec3.hs:14:3-62 0.3 1.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment