Skip to content

Instantly share code, notes, and snippets.

@k-bx
Created January 23, 2013 05:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save k-bx/4602235 to your computer and use it in GitHub Desktop.
Save k-bx/4602235 to your computer and use it in GitHub Desktop.
Wed Jan 23 12:01 2013 Time and Allocation Profiling Report (Final)
duplicates +RTS -p -RTS /home/kb/Ubuntu One
total time = 44.42 secs (44417 ticks @ 1000 us, 1 processor)
total alloc = 4,068,850,736 bytes (excludes profiling overheads)
COST CENTRE MODULE %time %alloc
insert Data.IxSet.Ix 33.1 13.9
getInfo Duplicates.Duplicates 18.4 3.8
compare Duplicates.Duplicates 16.3 0.0
getInfo.checksum Duplicates.Duplicates 10.6 0.0
flatten Data.IxSet 7.5 38.4
intersection Data.IxSet.Ix 5.1 3.7
toSet Data.IxSet 1.3 5.1
insertMapOfSets.update Data.IxSet 1.3 6.0
getNodeFolders Duplicates.Duplicates 1.0 5.5
intersection.intersection' Data.IxSet 0.9 3.1
gfoldl Duplicates.Duplicates 0.6 4.8
insertMapOfSets.xs Data.IxSet 0.6 3.0
insertMapOfSets.update.dss Data.IxSet 0.5 4.2
getOrd2.collect.f.(...) Data.IxSet 0.5 2.7
getGoodFullDirectoryContents Duplicates.Utils 0.4 1.8
getGoodFullDirectoryContents.dirEntriesFull Duplicates.Utils 0.2 1.1
individual inherited
COST CENTRE MODULE no. entries %time %alloc %time %alloc
MAIN MAIN 103 0 0.0 0.0 100.0 100.0
main Main 207 0 0.0 0.0 100.0 100.0
main.stats Main 411 1 0.0 0.0 0.0 0.0
main.showDirWithSummary Main 412 86 0.0 0.0 0.0 0.0
showSummary Duplicates.Duplicates 413 86 0.0 0.0 0.0 0.0
humanReadableFileSize Duplicates.Utils 414 86 0.0 0.0 0.0 0.0
humanReadableFileSize.humanReadableFileSize' Duplicates.Utils 415 175 0.0 0.0 0.0 0.0
prettyShowDouble Duplicates.Utils 416 68 0.0 0.0 0.0 0.0
main.dirs Main 410 1 0.0 0.0 0.0 0.0
main.filteredDirsWithSummary Main 406 1 0.0 0.0 0.0 0.0
main.filteredDirsWithSummary.\ Main 407 696 0.0 0.0 0.0 0.0
isEmptySummary Duplicates.Duplicates 408 696 0.0 0.0 0.0 0.0
main.sortedDirsWithSummary Main 239 1 0.0 0.0 0.0 0.0
main.sortedDirsWithSummary.\ Main 240 4739 0.0 0.0 0.0 0.0
compareSummaries Duplicates.Duplicates 241 4739 0.0 0.0 0.0 0.0
main.dirSummaries Main 238 1 0.0 0.0 64.1 84.2
getDuplicatesSummary Duplicates.Duplicates 242 696 0.0 0.0 64.1 84.2
getDuplicatesSummary.count Duplicates.Duplicates 409 696 0.0 0.0 0.0 0.0
getDuplicatesSummary.withDuplicates Duplicates.Duplicates 324 696 0.0 0.0 60.4 81.5
infoHasDuplicate Duplicates.Duplicates 325 28743 0.0 0.0 60.4 81.5
&&& Data.IxSet 344 28743 0.0 0.0 0.0 0.0
getSimilarItems Duplicates.Duplicates 327 28743 0.0 0.0 49.9 77.0
&&& Data.IxSet 345 0 0.0 0.2 8.8 7.0
intersection Data.IxSet 346 28743 0.0 0.0 8.8 6.8
intersection.indexes' Data.IxSet 348 28743 0.0 0.1 8.8 6.8
intersection.intersection' Data.IxSet 350 28743 0.9 3.1 8.7 6.7
intersection Data.IxSet.Ix 354 28743 5.1 3.7 7.9 3.7
compare Duplicates.Duplicates 403 410259 2.8 0.0 2.8 0.0
typeOf Duplicates.Duplicates 353 28743 0.0 0.0 0.0 0.0
typeOf Duplicates.Duplicates 352 57486 0.0 0.0 0.0 0.0
@= Data.IxSet 328 57486 0.0 0.0 41.0 70.0
getEQ Data.IxSet 329 57486 0.0 0.0 41.0 70.0
getOrd Data.IxSet 330 57486 0.0 0.1 41.0 70.0
getOrd2 Data.IxSet 337 57486 0.0 0.1 40.9 69.9
getOrd2.collect Data.IxSet 338 143715 0.1 0.3 40.9 69.7
getOrd2.collect.f Data.IxSet 342 57486 0.1 0.3 40.8 69.4
getOrd2.collect.f.result Data.IxSet 376 57486 0.1 0.1 0.1 0.1
getOrd2.collect.f.(...) Data.IxSet 362 57486 0.5 2.6 0.5 2.6
getOrd2.collect.f.eq' Data.IxSet 361 57486 0.0 0.0 0.0 0.0
getOrd2.collect.f.eq Data.IxSet 360 57486 0.0 0.0 0.0 0.0
getOrd2.collect.f.ltgt Data.IxSet 359 57486 0.0 0.0 0.0 0.0
getOrd2.collect.f.gt Data.IxSet 358 57486 0.0 0.0 0.0 0.0
getOrd2.collect.f.lt Data.IxSet 357 57486 0.0 0.0 0.0 0.0
insertMapOfSets Data.IxSet 343 57486 0.0 0.2 40.1 66.4
insertMapOfSets.update Data.IxSet 382 0 0.7 2.8 0.7 2.8
typeOf Duplicates.Duplicates 402 28743 0.0 0.0 0.0 0.0
typeOf Duplicates.Duplicates 383 28743 0.0 0.0 0.0 0.0
insertMapOfSets.xs Data.IxSet 356 57486 0.5 2.9 0.5 2.9
insertMapOfSets.v Data.IxSet 349 57486 0.0 0.1 38.8 60.4
insertMapOfSets.update Data.IxSet 351 57486 0.5 3.1 38.8 60.3
typeOf Duplicates.Duplicates 390 57486 0.0 0.0 0.0 0.0
insertMapOfSets.update.index' Data.IxSet 381 57486 0.0 0.1 29.9 11.8
insertList Data.IxSet.Ix 391 57486 0.1 0.0 29.8 11.7
insertList.\ Data.IxSet.Ix 392 980280 0.0 0.0 29.7 11.7
insert Data.IxSet.Ix 393 980280 29.7 11.7 29.7 11.7
insertMapOfSets.update.dss Data.IxSet 355 57486 0.5 4.1 8.4 45.5
flatten Data.IxSet 377 6861960 7.2 36.8 7.9 41.4
gfoldl Duplicates.Duplicates 400 980280 0.0 0.0 0.1 0.8
gfoldl Duplicates.Duplicates 401 0 0.1 0.8 0.1 0.8
typeOf Duplicates.Duplicates 399 1960560 0.0 0.0 0.0 0.0
gfoldl Duplicates.Duplicates 397 980280 0.0 0.0 0.1 0.8
gfoldl Duplicates.Duplicates 398 0 0.1 0.8 0.1 0.8
typeOf Duplicates.Duplicates 396 1960560 0.0 0.0 0.0 0.0
gfoldl Duplicates.Duplicates 394 980280 0.1 0.0 0.2 0.8
gfoldl Duplicates.Duplicates 395 0 0.1 0.8 0.1 0.8
gfoldl Duplicates.Duplicates 380 980280 0.3 2.3 0.3 2.3
typeOf Duplicates.Duplicates 379 8822520 0.0 0.0 0.0 0.0
typeOf Duplicates.Duplicates 378 1960560 0.0 0.0 0.0 0.0
typeOf Duplicates.Duplicates 341 114972 0.0 0.0 0.0 0.0
typeOf Duplicates.Duplicates 340 57486 0.0 0.0 0.0 0.0
typeOf Duplicates.Duplicates 339 114972 0.0 0.0 0.0 0.0
size Data.IxSet 326 28743 0.0 0.0 10.5 4.6
toSet Data.IxSet 347 28743 1.2 4.6 10.4 4.6
compare Duplicates.Duplicates 404 2452030 9.3 0.0 9.3 0.0
getDuplicatesSummary.infos Duplicates.Duplicates 244 696 0.0 0.0 3.7 2.6
getInfosInsideFolder Duplicates.Duplicates 245 696 0.0 0.0 3.7 2.6
getInfosInsideFolder.elems Duplicates.Duplicates 247 696 0.0 0.0 2.0 2.1
@= Data.IxSet 248 696 0.0 0.0 2.0 2.1
getEQ Data.IxSet 249 696 0.0 0.0 2.0 2.1
getOrd Data.IxSet 250 696 0.0 0.0 2.0 2.1
getOrd2 Data.IxSet 258 696 0.0 0.0 2.0 2.1
getOrd2.collect Data.IxSet 264 2784 0.0 0.0 2.0 2.1
getOrd2.collect.f Data.IxSet 275 696 0.0 0.0 2.0 2.1
getOrd2.collect.f.result Data.IxSet 297 696 0.0 0.0 0.0 0.0
getOrd2.collect.f.(...) Data.IxSet 287 696 0.0 0.0 0.0 0.0
getOrd2.collect.f.eq' Data.IxSet 286 696 0.0 0.0 0.0 0.0
getOrd2.collect.f.eq Data.IxSet 285 696 0.0 0.0 0.0 0.0
getOrd2.collect.f.ltgt Data.IxSet 284 696 0.0 0.0 0.0 0.0
getOrd2.collect.f.gt Data.IxSet 283 696 0.0 0.0 0.0 0.0
getOrd2.collect.f.lt Data.IxSet 282 696 0.0 0.0 0.0 0.0
insertMapOfSets Data.IxSet 276 696 0.0 0.0 1.9 2.1
insertMapOfSets.update Data.IxSet 303 0 0.0 0.0 0.0 0.0
typeOf Duplicates.Duplicates 304 696 0.0 0.0 0.0 0.0
insertMapOfSets.xs Data.IxSet 281 696 0.0 0.1 0.0 0.1
insertMapOfSets.v Data.IxSet 278 696 0.0 0.0 1.9 1.9
insertMapOfSets.update Data.IxSet 279 696 0.0 0.0 1.9 1.9
typeOf Duplicates.Duplicates 311 696 0.0 0.0 0.0 0.0
insertMapOfSets.update.index' Data.IxSet 302 696 0.0 0.0 1.6 0.6
insertList Data.IxSet.Ix 312 696 0.0 0.0 1.6 0.6
insertList.\ Data.IxSet.Ix 313 28743 0.0 0.0 1.6 0.6
insert Data.IxSet.Ix 314 28743 1.6 0.6 1.6 0.6
insertMapOfSets.update.dss Data.IxSet 280 696 0.0 0.1 0.3 1.3
flatten Data.IxSet 298 201201 0.2 1.1 0.3 1.2
gfoldl Duplicates.Duplicates 321 28743 0.0 0.0 0.0 0.0
gfoldl Duplicates.Duplicates 322 0 0.0 0.0 0.0 0.0
typeOf Duplicates.Duplicates 320 57486 0.0 0.0 0.0 0.0
gfoldl Duplicates.Duplicates 318 28743 0.0 0.0 0.0 0.0
gfoldl Duplicates.Duplicates 319 0 0.0 0.0 0.0 0.0
typeOf Duplicates.Duplicates 317 57486 0.0 0.0 0.0 0.0
gfoldl Duplicates.Duplicates 315 28743 0.0 0.0 0.0 0.0
gfoldl Duplicates.Duplicates 316 0 0.0 0.0 0.0 0.0
gfoldl Duplicates.Duplicates 301 28743 0.0 0.1 0.0 0.1
typeOf Duplicates.Duplicates 300 258687 0.0 0.0 0.0 0.0
typeOf Duplicates.Duplicates 299 57486 0.0 0.0 0.0 0.0
typeOf Duplicates.Duplicates 273 696 0.0 0.0 0.0 0.0
typeOf Duplicates.Duplicates 272 696 0.0 0.0 0.0 0.0
typeOf Duplicates.Duplicates 271 696 0.0 0.0 0.0 0.0
typeOf Duplicates.Duplicates 270 3480 0.0 0.0 0.0 0.0
toList Data.IxSet 246 696 0.0 0.0 1.7 0.6
toSet Data.IxSet 277 696 0.2 0.5 1.7 0.5
compare Duplicates.Duplicates 323 360775 1.6 0.0 1.6 0.0
getDuplicatesSummary.size' Duplicates.Duplicates 243 696 0.0 0.0 0.0 0.0
main.dirsWithSummary Main 237 1 0.0 0.0 0.0 0.0
allPossibleDirs Duplicates.Utils 230 696 0.0 0.0 0.6 2.0
allPossibleDirs.subDirs Duplicates.Utils 405 696 0.0 0.0 0.0 0.0
splitOnFilesAndDirs Duplicates.Utils 235 696 0.0 0.0 0.3 0.5
splitOnFilesAndDirs.f Duplicates.Utils 236 6829 0.2 0.5 0.2 0.5
getGoodFullDirectoryContents Duplicates.Utils 231 696 0.2 0.9 0.3 1.5
getGoodFullDirectoryContents.dirEntriesFull Duplicates.Utils 234 696 0.1 0.5 0.1 0.5
getGoodFullDirectoryContents.dirEntriesFiltered Duplicates.Utils 232 696 0.0 0.0 0.0 0.0
getGoodFullDirectoryContents.dirEntriesFiltered.\ Duplicates.Utils 233 8221 0.0 0.0 0.0 0.0
indexPath Duplicates.Duplicates 211 1 0.0 0.0 35.3 13.7
indexPath.entries Duplicates.Duplicates 259 1 0.0 0.0 5.7 7.8
fromList Data.IxSet 263 1 0.0 0.0 5.7 7.8
insertList Data.IxSet 265 0 0.0 0.0 5.7 7.8
insertList.v Data.IxSet 266 1 0.0 0.0 5.7 7.8
insertList.update Data.IxSet 267 4 0.0 0.0 5.7 7.8
insertList.update.index' Data.IxSet 292 3 0.0 0.0 4.5 1.6
insertList Data.IxSet.Ix 293 3 0.0 0.0 4.5 1.6
insertList.\ Data.IxSet.Ix 294 65547 0.0 0.0 4.5 1.6
insert Data.IxSet.Ix 295 65547 1.8 1.6 4.5 1.6
compare Duplicates.Duplicates 296 531328 2.7 0.0 2.7 0.0
insertList.update.dss Data.IxSet 288 3 0.0 0.2 1.2 6.2
insertList.update.flattencheck Data.IxSet 289 18402 0.0 0.0 1.2 6.0
flatten Data.IxSet 364 85876 0.1 0.5 0.2 0.5
gfoldl Duplicates.Duplicates 374 12268 0.0 0.0 0.0 0.0
gfoldl Duplicates.Duplicates 375 0 0.0 0.0 0.0 0.0
gfoldl Duplicates.Duplicates 372 12268 0.0 0.0 0.0 0.0
gfoldl Duplicates.Duplicates 373 0 0.0 0.0 0.0 0.0
typeOf Duplicates.Duplicates 371 67474 0.0 0.0 0.0 0.0
gfoldl Duplicates.Duplicates 369 12268 0.0 0.0 0.0 0.0
gfoldl Duplicates.Duplicates 370 0 0.0 0.0 0.0 0.0
typeOf Duplicates.Duplicates 368 24536 0.0 0.0 0.0 0.0
gfoldl Duplicates.Duplicates 367 12268 0.0 0.0 0.0 0.0
typeOf Duplicates.Duplicates 366 67474 0.0 0.0 0.0 0.0
typeOf Duplicates.Duplicates 365 24536 0.0 0.0 0.0 0.0
getNodeFolders Duplicates.Duplicates 290 6134 1.0 5.5 1.0 5.5
getNodeFolders.path Duplicates.Duplicates 291 6134 0.0 0.0 0.0 0.0
insertList Data.IxSet 262 1 0.0 0.0 0.0 0.0
getInfos Duplicates.Duplicates 223 0 0.0 0.0 29.1 3.9
getInfo Duplicates.Duplicates 225 6134 18.4 3.8 29.0 3.8
getInfo.checksum Duplicates.Duplicates 363 6134 10.6 0.0 10.6 0.0
allPossibleFiles Duplicates.Utils 212 696 0.0 0.0 0.5 2.0
allPossibleFiles.subFiles Duplicates.Utils 224 696 0.0 0.0 0.0 0.0
splitOnFilesAndDirs Duplicates.Utils 220 696 0.0 0.0 0.2 0.5
splitOnFilesAndDirs.f Duplicates.Utils 221 6829 0.2 0.5 0.2 0.5
getGoodFullDirectoryContents Duplicates.Utils 213 696 0.2 0.9 0.3 1.5
getGoodFullDirectoryContents.dirEntriesFull Duplicates.Utils 219 696 0.1 0.5 0.1 0.5
getGoodFullDirectoryContents.dirEntriesFiltered Duplicates.Utils 214 696 0.0 0.0 0.0 0.0
getGoodFullDirectoryContents.dirEntriesFiltered.\ Duplicates.Utils 215 8221 0.0 0.0 0.0 0.0
main.path Main 208 1 0.0 0.0 0.0 0.0
getPathFromArgs Main 209 1 0.0 0.0 0.0 0.0
safeHead Duplicates.Utils 210 1 0.0 0.0 0.0 0.0
CAF Duplicates.Utils 205 0 0.0 0.0 0.0 0.0
getGoodFullDirectoryContents Duplicates.Utils 216 0 0.0 0.0 0.0 0.0
getGoodFullDirectoryContents.dirEntriesFiltered Duplicates.Utils 217 0 0.0 0.0 0.0 0.0
getGoodFullDirectoryContents.dirEntriesFiltered.\ Duplicates.Utils 218 0 0.0 0.0 0.0 0.0
CAF Duplicates.Duplicates 204 0 0.0 0.0 0.0 0.0
empty Duplicates.Duplicates 260 1 0.0 0.0 0.0 0.0
ixFun Data.IxSet 274 1 0.0 0.0 0.0 0.0
ixGen Data.IxSet 268 3 0.0 0.0 0.0 0.0
ixFun Data.IxSet 269 3 0.0 0.0 0.0 0.0
getDuplicatesSummary Duplicates.Duplicates 251 0 0.0 0.0 0.0 0.0
getDuplicatesSummary.withDuplicates Duplicates.Duplicates 331 0 0.0 0.0 0.0 0.0
infoHasDuplicate Duplicates.Duplicates 332 0 0.0 0.0 0.0 0.0
getSimilarItems Duplicates.Duplicates 333 0 0.0 0.0 0.0 0.0
@= Data.IxSet 334 0 0.0 0.0 0.0 0.0
getEQ Data.IxSet 335 0 0.0 0.0 0.0 0.0
getOrd Data.IxSet 336 0 0.0 0.0 0.0 0.0
getOrd2 Data.IxSet 384 0 0.0 0.0 0.0 0.0
getOrd2.collect Data.IxSet 385 0 0.0 0.0 0.0 0.0
getOrd2.collect.f Data.IxSet 386 0 0.0 0.0 0.0 0.0
insertMapOfSets Data.IxSet 387 0 0.0 0.0 0.0 0.0
insertMapOfSets.update Data.IxSet 388 0 0.0 0.0 0.0 0.0
typeOf Duplicates.Duplicates 389 2 0.0 0.0 0.0 0.0
getDuplicatesSummary.infos Duplicates.Duplicates 252 0 0.0 0.0 0.0 0.0
getInfosInsideFolder Duplicates.Duplicates 253 0 0.0 0.0 0.0 0.0
getInfosInsideFolder.elems Duplicates.Duplicates 254 0 0.0 0.0 0.0 0.0
@= Data.IxSet 255 0 0.0 0.0 0.0 0.0
getEQ Data.IxSet 256 0 0.0 0.0 0.0 0.0
getOrd Data.IxSet 257 0 0.0 0.0 0.0 0.0
getOrd2 Data.IxSet 305 0 0.0 0.0 0.0 0.0
getOrd2.collect Data.IxSet 306 0 0.0 0.0 0.0 0.0
getOrd2.collect.f Data.IxSet 307 0 0.0 0.0 0.0 0.0
insertMapOfSets Data.IxSet 308 0 0.0 0.0 0.0 0.0
insertMapOfSets.update Data.IxSet 309 0 0.0 0.0 0.0 0.0
typeOf Duplicates.Duplicates 310 1 0.0 0.0 0.0 0.0
getInfos Duplicates.Duplicates 222 1 0.0 0.0 0.0 0.0
CAF Main 203 0 0.0 0.0 0.0 0.0
main Main 206 1 0.0 0.0 0.0 0.0
CAF Data.IxSet 202 0 0.0 0.0 0.0 0.0
ixSet Data.IxSet 261 1 0.0 0.0 0.0 0.0
CAF GHC.Float 153 0 0.0 0.0 0.0 0.0
CAF GHC.IO.Encoding 151 0 0.0 0.0 0.0 0.0
CAF GHC.IO.Handle.FD 148 0 0.0 0.0 0.0 0.0
CAF GHC.Conc.Signal 139 0 0.0 0.0 0.0 0.0
CAF GHC.IO.Encoding.Iconv 136 0 0.0 0.0 0.0 0.0
CAF GHC.IO.FD 135 0 0.0 0.0 0.0 0.0
main Main 226 0 0.0 0.0 0.0 0.0
indexPath Duplicates.Duplicates 227 0 0.0 0.0 0.0 0.0
getInfos Duplicates.Duplicates 228 0 0.0 0.0 0.0 0.0
getInfo Duplicates.Duplicates 229 0 0.0 0.0 0.0 0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment