Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save blairdrummond/b657f383824e825ae6fc4f680adc974a to your computer and use it in GitHub Desktop.
Save blairdrummond/b657f383824e825ae6fc4f680adc974a to your computer and use it in GitHub Desktop.
SlideDrop re-added
» Fri Jul 27 23:43 2018 Time and Allocation Profiling Report (Final)
» code +RTS -p -h -M1000m -RTS
» total time = 0.60 secs (596 ticks @ 1000 us, 1 processor)
» total alloc = 1,826,831,176 bytes (excludes profiling overheads)
COST CENTRE MODULE SRC %time %alloc
clumps.slideInsert Main code.hs:(24,7)-(26,121) 51.2 54.3
clumps.slideDrop Main code.hs:(33,7)-(37,84) 19.8 21.1
clumps Main code.hs:(18,1)-(43,38) 14.9 15.1
clumps.\ Main code.hs:19:30-56 8.9 9.0
readTextDevice Data.Text.Internal.IO Data/Text/Internal/IO.hs:133:39-64 3.2 0.0
readChunk Data.Text.Internal.IO Data/Text/Internal/IO.hs:(156,1)-(163,10) 1.7 0.4
individual inherited
COST CENTRE MODULE SRC no. entries %time %alloc %time %alloc
MAIN MAIN <built-in> 187 0 0.0 0.0 100.0 100.0
CAF Main <entire-module> 373 0 0.0 0.0 0.0 0.0
main Main code.hs:(48,1)-(51,26) 374 1 0.0 0.0 0.0 0.0
CAF Data.Text.Lazy <entire-module> 372 0 0.0 0.0 0.0 0.0
splitAt Data.Text.Lazy Data/Text/Lazy.hs:(1266,1)-(1274,50) 384 1 0.0 0.0 0.0 0.0
CAF Data.Text.Lazy.IO <entire-module> 370 0 0.0 0.0 0.0 0.0
getContents Data.Text.Lazy.IO Data/Text/Lazy/IO.hs:153:1-32 376 1 0.0 0.0 0.0 0.0
hGetContents Data.Text.Lazy.IO Data/Text/Lazy/IO.hs:(95,1)-(99,44) 377 1 0.0 0.0 0.0 0.0
CAF GHC.Conc.Signal <entire-module> 294 0 0.0 0.0 0.0 0.0
CAF GHC.IO.Encoding <entire-module> 276 0 0.0 0.0 0.0 0.0
CAF GHC.IO.Encoding.Iconv <entire-module> 274 0 0.0 0.0 0.0 0.0
CAF GHC.IO.Exception <entire-module> 268 0 0.0 0.0 0.0 0.0
CAF GHC.IO.Handle.FD <entire-module> 266 0 0.0 0.0 0.0 0.0
main Main code.hs:(48,1)-(51,26) 375 0 0.0 0.0 100.0 100.0
main.result Main code.hs:50:7-34 380 1 0.0 0.0 94.8 99.5
clumps Main code.hs:(18,1)-(43,38) 381 1 14.9 15.1 94.8 99.5
clumps.\ Main code.hs:19:30-56 389 3443689 8.9 9.0 79.9 84.4
clumps.slideDrop Main code.hs:(33,7)-(37,84) 390 3443689 19.8 21.1 19.8 21.1
clumps.slideInsert Main code.hs:(24,7)-(26,121) 391 3443689 51.2 54.3 51.2 54.3
clumps.(...) Main code.hs:23:7-40 383 1 0.0 0.0 0.0 0.0
splitAt Data.Text.Lazy Data/Text/Lazy.hs:(1266,1)-(1274,50) 385 0 0.0 0.0 0.0 0.0
splitAt Data.Text Data/Text.hs:(1339,1)-(1343,63) 388 1 0.0 0.0 0.0 0.0
clumps.text' Main code.hs:23:7-40 382 1 0.0 0.0 0.0 0.0
getContents Data.Text.Lazy.IO Data/Text/Lazy/IO.hs:153:1-32 378 0 0.0 0.0 5.2 0.5
hGetContents Data.Text.Lazy.IO Data/Text/Lazy/IO.hs:(95,1)-(99,44) 379 0 0.3 0.0 5.2 0.5
readChunk Data.Text.Internal.IO Data/Text/Internal/IO.hs:(156,1)-(163,10) 386 1682 1.7 0.4 4.9 0.4
readTextDevice Data.Text.Internal.IO Data/Text/Internal/IO.hs:133:39-64 387 1682 3.2 0.0 3.2 0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment