Skip to content

Instantly share code, notes, and snippets.

@shkodm
Last active June 18, 2016 10:15
Show Gist options
  • Save shkodm/607d98a0dfe3c244a1197016f4b125d7 to your computer and use it in GitHub Desktop.
Save shkodm/607d98a0dfe3c244a1197016f4b125d7 to your computer and use it in GitHub Desktop.
d2q9:
> summaryRprof("LatticeAccess.inc.cpp.run.Rprof")
$by.total
total.time total.pct self.time self.pct
"<Anonymous>" 44.94 100.00 0.82 1.82
"eval" 44.94 100.00 0.60 1.34
"lapply" 44.68 99.42 0.58 1.29
"FUN" 44.66 99.38 0.42 0.93
"txtlapply" 43.48 96.75 0.00 0.00
"field.access" 42.96 95.59 0.00 0.00
"Ops.gvector.apply" 37.90 84.33 0.02 0.04
"fun" 36.78 81.84 0.08 0.18
"offset.p" 32.44 72.19 0.02 0.04
"load.field" 27.88 62.04 0.00 0.00
"aggregate" 23.90 53.18 0.30 0.67
"aggregate.pAlg" 23.80 52.96 0.42 0.93
"*" 22.58 50.24 0.00 0.00
"*.pAlg" 22.22 49.44 0.72 1.60
"aggregate.data.frame" 15.38 34.22 0.44 0.98
"save.field" 15.08 33.56 0.00 0.00
"+" 13.72 30.53 0.04 0.09
"+.pAlg" 10.96 24.39 0.06 0.13
"[" 9.10 20.25 0.40 0.89
"[.data.frame" 8.26 18.38 2.46 5.47
"data.frame" 7.52 16.73 1.30 2.89
"C" 6.14 13.66 0.02 0.04
"ToC" 6.12 13.62 0.00 0.00
"match" 5.84 13.00 3.28 7.30
"-" 5.78 12.86 0.06 0.13
"%in%" 5.66 12.59 0.96 2.14
"-.pAlg" 5.28 11.75 0.02 0.04
"as.factor" 5.16 11.48 0.08 0.18
"rbind" 5.02 11.17 1.00 2.23
"gapply" 4.76 10.59 0.02 0.04
"ToC.gvector" 4.74 10.55 0.00 0.00
"nToC" 4.70 10.46 0.12 0.27
"ToC.pAlg" 4.70 10.46 0.00 0.00
"factor" 4.68 10.41 0.46 1.02
"pAlg" 4.66 10.37 0.18 0.40
"as.data.frame" 4.10 9.12 0.60 1.34
"deparse" 4.06 9.03 0.98 2.18
"[[" 3.94 8.77 0.38 0.85
"if.apply" 3.86 8.59 0.00 0.00
"req" 3.84 8.54 0.02 0.04
"move.pocket" 3.66 8.14 0.00 0.00
"[[.data.frame" 3.56 7.92 0.98 2.18
"match.arg" 3.46 7.70 0.36 0.80
"Ops.data.frame" 2.96 6.59 0.34 0.76
"gsub" 2.92 6.50 0.58 1.29
"[<-" 2.64 5.87 0.14 0.31
"sort.list" 2.52 5.61 0.30 0.67
"new" 2.50 5.56 0.02 0.04
"[<-.data.frame" 2.48 5.52 0.74 1.65
"initialize" 2.44 5.43 0.26 0.58
"standardGeneric" 2.44 5.43 0.04 0.09
"format" 2.36 5.25 0.24 0.53
"paste" 2.32 5.16 0.42 0.93
"force" 2.22 4.94 0.10 0.22
"split" 2.18 4.85 0.12 0.27
"format.default" 2.12 4.72 0.28 0.62
"as.data.frame.numeric" 2.08 4.63 0.30 0.67
"split.default" 2.06 4.58 0.12 0.27
".deparseOpts" 1.98 4.41 0.64 1.42
"dim" 1.86 4.14 0.56 1.25
"sapply" 1.84 4.09 0.00 0.00
"field.access.one" 1.82 4.05 0.00 0.00
"unique" 1.60 3.56 0.80 1.78
"nrow" 1.54 3.43 0.28 0.62
"mode" 1.44 3.20 0.28 0.62
"source" 1.44 3.20 0.00 0.00
"length" 1.42 3.16 1.40 3.12
"new.gvector" 1.42 3.16 0.00 0.00
"withVisible" 1.42 3.16 0.00 0.00
"$" 1.32 2.94 0.18 0.40
"c" 1.30 2.89 1.16 2.58
"dim.data.frame" 1.30 2.89 0.38 0.85
"as.data.frame.list" 1.28 2.85 0.08 0.18
"finish.pAlg" 1.18 2.63 0.60 1.34
"anyDuplicated" 1.16 2.58 0.90 2.00
"$.data.frame" 1.14 2.54 0.14 0.31
"offsets" 1.12 2.49 0.00 0.00
"PV" 1.08 2.40 0.00 0.00
"unlist" 1.02 2.27 0.72 1.60
"names" 0.96 2.14 0.96 2.14
"pmatch" 0.84 1.87 0.58 1.29
"make.names" 0.84 1.87 0.42 0.93
"colSums" 0.84 1.87 0.14 0.31
"is.data.frame" 0.78 1.74 0.08 0.18
"order" 0.74 1.65 0.26 0.58
"[[<-" 0.70 1.56 0.06 0.13
"as.list" 0.68 1.51 0.38 0.85
"sort" 0.68 1.51 0.10 0.22
"prettyNum" 0.64 1.42 0.60 1.34
"unique.default" 0.64 1.42 0.46 1.02
"structure" 0.64 1.42 0.38 0.85
"[[<-.data.frame" 0.64 1.42 0.30 0.67
"validObject" 0.60 1.34 0.06 0.13
"as" 0.58 1.29 0.04 0.09
"sys.call" 0.50 1.11 0.50 1.11
"is" 0.50 1.11 0.14 0.31
"rev" 0.50 1.11 0.08 0.18
"sort.default" 0.50 1.11 0.06 0.13
".row_names_info" 0.48 1.07 0.48 1.07
"NROW" 0.48 1.07 0.10 0.22
"sort.int" 0.44 0.98 0.08 0.18
">" 0.42 0.93 0.06 0.13
"rev.default" 0.42 0.93 0.00 0.00
"possibleExtends" 0.40 0.89 0.10 0.22
"is.factor" 0.36 0.80 0.36 0.80
"divisible" 0.36 0.80 0.02 0.04
"formals" 0.34 0.76 0.16 0.36
"as.data.frame.integer" 0.34 0.76 0.08 0.18
"$<-" 0.34 0.76 0.02 0.04
"as.character" 0.32 0.71 0.32 0.71
"$<-.data.frame" 0.32 0.71 0.22 0.49
"do.call" 0.32 0.71 0.12 0.27
"tryCatch" 0.32 0.71 0.08 0.18
"make.context" 0.32 0.71 0.02 0.04
"try" 0.32 0.71 0.00 0.00
"outer" 0.30 0.67 0.08 0.18
"<" 0.30 0.67 0.00 0.00
"getGeneric" 0.28 0.62 0.02 0.04
"anyDuplicated.default" 0.26 0.58 0.26 0.58
"as.vector" 0.26 0.58 0.22 0.49
"as.data.frame.character" 0.26 0.58 0.02 0.04
".findMethodInTable" 0.26 0.58 0.02 0.04
".quickCoerceSelect" 0.26 0.58 0.00 0.00
"as.list.default" 0.24 0.53 0.24 0.53
"is.numeric" 0.22 0.49 0.22 0.49
"match.fun" 0.22 0.49 0.20 0.45
".set_row_names" 0.22 0.49 0.16 0.36
"row.names<-" 0.22 0.49 0.10 0.22
"doTryCatch" 0.22 0.49 0.04 0.09
".getGeneric" 0.22 0.49 0.02 0.04
"no.ones" 0.22 0.49 0.02 0.04
"setdiff" 0.22 0.49 0.00 0.00
"tryCatchList" 0.22 0.49 0.00 0.00
"tryCatchOne" 0.22 0.49 0.00 0.00
"all" 0.20 0.45 0.20 0.45
"lengths" 0.18 0.40 0.18 0.40
"levels" 0.18 0.40 0.16 0.36
"vapply" 0.18 0.40 0.08 0.18
"sys.function" 0.18 0.40 0.06 0.13
"library" 0.18 0.40 0.00 0.00
"any" 0.16 0.36 0.16 0.36
"attr" 0.16 0.36 0.16 0.36
".getClassFromCache" 0.16 0.36 0.16 0.36
"is.matrix" 0.16 0.36 0.16 0.36
".subset2" 0.16 0.36 0.16 0.36
"matrix" 0.16 0.36 0.14 0.31
"ncol" 0.16 0.36 0.06 0.13
".getRequiredPackages2" 0.16 0.36 0.00 0.00
"loadNamespace" 0.16 0.36 0.00 0.00
"getClassDef" 0.14 0.31 0.06 0.13
"as.data.frame.logical" 0.14 0.31 0.02 0.04
"c.gvector" 0.14 0.31 0.00 0.00
"union" 0.14 0.31 0.00 0.00
"el" 0.12 0.27 0.12 0.27
".subset" 0.12 0.27 0.12 0.27
"sys.parent" 0.12 0.27 0.12 0.27
".cacheGeneric" 0.12 0.27 0.04 0.09
"row.names<-.data.frame" 0.12 0.27 0.00 0.00
"anyNA" 0.10 0.22 0.10 0.22
"as.integer" 0.10 0.22 0.10 0.22
".identC" 0.10 0.22 0.10 0.22
"is.na" 0.10 0.22 0.10 0.22
"make.unique" 0.10 0.22 0.10 0.22
"names<-" 0.10 0.22 0.10 0.22
"NextMethod" 0.10 0.22 0.10 0.22
"parent.frame" 0.10 0.22 0.10 0.22
".requirePackage" 0.10 0.22 0.08 0.18
"as.data.frame.data.frame" 0.10 0.22 0.06 0.13
"NCOL" 0.10 0.22 0.02 0.04
".checkGroupSigLength" 0.10 0.22 0.00 0.00
".classEnv" 0.10 0.22 0.00 0.00
".updateMethodsInTable" 0.10 0.22 0.00 0.00
".cacheGenericTable" 0.08 0.18 0.08 0.18
"is.list" 0.08 0.18 0.08 0.18
"is.ordered" 0.08 0.18 0.08 0.18
"nargs" 0.08 0.18 0.08 0.18
"Make.row.names" 0.08 0.18 0.06 0.13
"paste0" 0.08 0.18 0.06 0.13
"match.names" 0.08 0.18 0.04 0.09
"pmin" 0.08 0.18 0.04 0.09
"identical" 0.08 0.18 0.02 0.04
"getClass" 0.08 0.18 0.00 0.00
"Recall" 0.08 0.18 0.00 0.00
":" 0.06 0.13 0.06 0.13
"!" 0.06 0.13 0.06 0.13
"class<-" 0.06 0.13 0.06 0.13
"complete.cases" 0.06 0.13 0.06 0.13
"integer" 0.06 0.13 0.06 0.13
"is.int" 0.06 0.13 0.06 0.13
"is.pairlist" 0.06 0.13 0.06 0.13
"slot<-" 0.06 0.13 0.06 0.13
"sum" 0.06 0.13 0.06 0.13
"which" 0.06 0.13 0.06 0.13
"as.list.data.frame" 0.06 0.13 0.04 0.09
"get" 0.06 0.13 0.04 0.09
"/" 0.04 0.09 0.04 0.09
"cat" 0.04 0.09 0.04 0.09
"getOption" 0.04 0.09 0.04 0.09
"rep.int" 0.04 0.09 0.04 0.09
"seq.int" 0.04 0.09 0.04 0.09
"unclass" 0.04 0.09 0.04 0.09
"elNamed" 0.04 0.09 0.00 0.00
"getGroupMembers" 0.04 0.09 0.00 0.00
".recMembers" 0.04 0.09 0.00 0.00
"==" 0.02 0.04 0.02 0.04
"!=" 0.02 0.04 0.02 0.04
"&" 0.02 0.04 0.02 0.04
"%%" 0.02 0.04 0.02 0.04
"allNames" 0.02 0.04 0.02 0.04
"as.call" 0.02 0.04 0.02 0.04
"attr<-" 0.02 0.04 0.02 0.04
"attributes" 0.02 0.04 0.02 0.04
"baseenv" 0.02 0.04 0.02 0.04
"[.bunch" 0.02 0.04 0.02 0.04
"class" 0.02 0.04 0.02 0.04
"col" 0.02 0.04 0.02 0.04
"default.stringsAsFactors" 0.02 0.04 0.02 0.04
"delayedAssign" 0.02 0.04 0.02 0.04
"getGenericFun" 0.02 0.04 0.02 0.04
".getMethodsTable" 0.02 0.04 0.02 0.04
"getNamespace" 0.02 0.04 0.02 0.04
"is.atomic" 0.02 0.04 0.02 0.04
"is.expression" 0.02 0.04 0.02 0.04
"lazyLoadDBfetch" 0.02 0.04 0.02 0.04
"length.gvector" 0.02 0.04 0.02 0.04
"list" 0.02 0.04 0.02 0.04
".local" 0.02 0.04 0.02 0.04
"max" 0.02 0.04 0.02 0.04
"nzchar" 0.02 0.04 0.02 0.04
"objects" 0.02 0.04 0.02 0.04
"oldClass" 0.02 0.04 0.02 0.04
"seq_along" 0.02 0.04 0.02 0.04
"sprintf" 0.02 0.04 0.02 0.04
"which.max" 0.02 0.04 0.02 0.04
"AddDensity" 0.02 0.04 0.00 0.00
"AddNodeType" 0.02 0.04 0.00 0.00
"AddSetting" 0.02 0.04 0.00 0.00
"assignWrapped" 0.02 0.04 0.00 0.00
"attach" 0.02 0.04 0.00 0.00
"attachNamespace" 0.02 0.04 0.00 0.00
"body<-" 0.02 0.04 0.00 0.00
"checkConflicts" 0.02 0.04 0.00 0.00
"expand.grid" 0.02 0.04 0.00 0.00
"genericForPrimitive" 0.02 0.04 0.00 0.00
".genericOrImplicit" 0.02 0.04 0.00 0.00
".getGenericFromCache" 0.02 0.04 0.00 0.00
".getGenericFromCacheTable" 0.02 0.04 0.00 0.00
"implicitGeneric" 0.02 0.04 0.00 0.00
"is.zero" 0.02 0.04 0.00 0.00
"is.zero.gvector" 0.02 0.04 0.00 0.00
"levels.default" 0.02 0.04 0.00 0.00
"makeGeneric" 0.02 0.04 0.00 0.00
".registerS3method" 0.02 0.04 0.00 0.00
"registerS3methods" 0.02 0.04 0.00 0.00
"rows" 0.02 0.04 0.00 0.00
"rows_df" 0.02 0.04 0.00 0.00
"simplify2array" 0.02 0.04 0.00 0.00
$sample.interval
[1] 0.02
$sampling.time
[1] 44.94
d3q27:
> summaryRprof("LatticeAccess.inc.cpp.run.Rprof")
$by.total
total.time total.pct self.time self.pct
"<Anonymous>" 145.46 100.00 2.42 1.66
"eval" 145.46 100.00 2.00 1.37
"lapply" 145.20 99.82 1.60 1.10
"FUN" 145.18 99.81 1.42 0.98
"txtlapply" 142.20 97.76 0.00 0.00
"field.access" 140.80 96.80 0.00 0.00
"Ops.gvector.apply" 114.84 78.95 0.12 0.08
"fun" 110.98 76.30 0.60 0.41
"offset.p" 95.22 65.46 0.06 0.04
"load.field" 91.98 63.23 0.00 0.00
"aggregate" 70.38 48.38 0.56 0.38
"aggregate.pAlg" 70.06 48.16 1.20 0.82
"*" 67.22 46.21 0.04 0.03
"*.pAlg" 65.74 45.19 1.80 1.24
"save.field" 48.82 33.56 0.00 0.00
"aggregate.data.frame" 48.46 33.32 1.90 1.31
"+" 40.68 27.97 0.16 0.11
"[" 33.28 22.88 1.22 0.84
"+.pAlg" 32.32 22.22 0.10 0.07
"C" 30.54 21.00 0.02 0.01
"ToC" 30.42 20.91 0.04 0.03
"[.data.frame" 29.58 20.34 8.56 5.88
"data.frame" 25.12 17.27 3.94 2.71
"gapply" 23.56 16.20 0.04 0.03
"ToC.gvector" 23.42 16.10 0.00 0.00
"nToC" 23.16 15.92 0.48 0.33
"ToC.pAlg" 23.16 15.92 0.00 0.00
"-" 21.44 14.74 0.16 0.11
"if.apply" 20.52 14.11 0.00 0.00
"req" 20.48 14.08 0.04 0.03
"-.pAlg" 19.24 13.23 0.06 0.04
"rbind" 18.60 12.79 3.54 2.43
"match" 18.20 12.51 10.28 7.07
"%in%" 17.40 11.96 3.70 2.54
"move.pocket" 16.14 11.10 0.02 0.01
"as.factor" 15.02 10.33 0.24 0.16
"as.data.frame" 14.88 10.23 1.42 0.98
"deparse" 14.00 9.62 3.50 2.41
"factor" 13.58 9.34 1.76 1.21
"[[" 12.60 8.66 1.70 1.17
"pAlg" 12.54 8.62 0.50 0.34
"[[.data.frame" 10.90 7.49 3.28 2.25
"match.arg" 9.84 6.76 1.08 0.74
"paste" 9.70 6.67 1.88 1.29
"sapply" 9.56 6.57 0.04 0.03
"field.access.one" 9.36 6.43 0.00 0.00
"Ops.data.frame" 9.34 6.42 0.86 0.59
"gsub" 8.98 6.17 2.00 1.37
"force" 8.76 6.02 0.28 0.19
"new" 8.44 5.80 0.10 0.07
"initialize" 8.20 5.64 0.80 0.55
"standardGeneric" 8.18 5.62 0.24 0.16
"[<-" 7.96 5.47 0.36 0.25
"as.data.frame.numeric" 7.58 5.21 0.74 0.51
"[<-.data.frame" 7.56 5.20 2.54 1.75
".deparseOpts" 7.16 4.92 2.30 1.58
"format" 6.96 4.78 0.50 0.34
"sort.list" 6.60 4.54 0.76 0.52
"format.default" 6.46 4.44 0.68 0.47
"split" 6.08 4.18 0.36 0.25
"new.gvector" 5.80 3.99 0.08 0.05
"split.default" 5.70 3.92 0.44 0.30
"dim" 5.22 3.59 1.90 1.31
"mode" 4.98 3.42 0.76 0.52
"unique" 4.64 3.19 2.22 1.53
"anyDuplicated" 4.56 3.13 3.46 2.38
"$" 4.28 2.94 0.64 0.44
"nrow" 4.18 2.87 0.68 0.47
"as.data.frame.list" 4.18 2.87 0.10 0.07
"names" 3.86 2.65 3.86 2.65
"length" 3.76 2.58 3.76 2.58
"$.data.frame" 3.58 2.46 0.66 0.45
"dim.data.frame" 3.32 2.28 1.00 0.69
"source" 3.26 2.24 0.00 0.00
"withVisible" 3.26 2.24 0.00 0.00
"c" 3.14 2.16 2.86 1.97
"colSums" 3.04 2.09 0.44 0.30
"make.names" 2.94 2.02 1.14 0.78
"offsets" 2.94 2.02 0.00 0.00
"pmatch" 2.92 2.01 1.94 1.33
"finish.pAlg" 2.82 1.94 1.54 1.06
"order" 2.74 1.88 1.04 0.71
"PV" 2.72 1.87 0.00 0.00
"is.data.frame" 2.64 1.81 0.24 0.16
"unlist" 2.48 1.70 1.68 1.15
"sort" 2.42 1.66 0.42 0.29
"as.list" 2.38 1.64 1.38 0.95
"rev" 2.16 1.48 0.48 0.33
"validObject" 2.16 1.48 0.22 0.15
"unique.default" 2.08 1.43 1.60 1.10
"[[<-" 2.04 1.40 0.12 0.08
"as" 2.02 1.39 0.14 0.10
"[[<-.data.frame" 1.92 1.32 1.10 0.76
"prettyNum" 1.78 1.22 1.56 1.07
"structure" 1.78 1.22 1.02 0.70
"is.factor" 1.68 1.15 1.68 1.15
"rev.default" 1.68 1.15 0.12 0.08
"as.data.frame.logical" 1.48 1.02 0.12 0.08
"as.character" 1.44 0.99 1.44 0.99
"sys.call" 1.44 0.99 1.44 0.99
"sort.default" 1.42 0.98 0.12 0.08
"no.ones" 1.42 0.98 0.04 0.03
"possibleExtends" 1.40 0.96 0.52 0.36
"as.data.frame.character" 1.36 0.93 0.16 0.11
"divisible" 1.36 0.93 0.02 0.01
"sort.int" 1.30 0.89 0.58 0.40
"<" 1.30 0.89 0.10 0.07
"NROW" 1.28 0.88 0.32 0.22
"formals" 1.26 0.87 0.60 0.41
">" 1.24 0.85 0.16 0.11
".row_names_info" 1.22 0.84 1.22 0.84
"outer" 1.14 0.78 0.38 0.26
"is" 1.14 0.78 0.12 0.08
"anyDuplicated.default" 1.10 0.76 1.10 0.76
"match.fun" 0.98 0.67 0.74 0.51
".quickCoerceSelect" 0.94 0.65 0.06 0.04
".findMethodInTable" 0.88 0.60 0.14 0.10
"as.list.default" 0.82 0.56 0.82 0.56
"as.data.frame.integer" 0.82 0.56 0.10 0.07
"all" 0.80 0.55 0.80 0.55
"$<-" 0.78 0.54 0.08 0.05
"try" 0.74 0.51 0.02 0.01
"getClassDef" 0.72 0.49 0.28 0.19
"tryCatch" 0.72 0.49 0.14 0.10
"union" 0.70 0.48 0.02 0.01
"$<-.data.frame" 0.68 0.47 0.54 0.37
"do.call" 0.68 0.47 0.16 0.11
"setdiff" 0.68 0.47 0.08 0.05
"attr" 0.66 0.45 0.66 0.45
"sys.function" 0.66 0.45 0.22 0.15
"make.context" 0.66 0.45 0.04 0.03
".getClassFromCache" 0.64 0.44 0.56 0.38
"levels" 0.64 0.44 0.48 0.33
"vapply" 0.62 0.43 0.32 0.22
"row.names<-" 0.62 0.43 0.26 0.18
"is.numeric" 0.54 0.37 0.54 0.37
"parent.frame" 0.54 0.37 0.54 0.37
"tryCatchList" 0.52 0.36 0.06 0.04
"is.matrix" 0.50 0.34 0.50 0.34
"sum" 0.50 0.34 0.50 0.34
"any" 0.48 0.33 0.48 0.33
".identC" 0.48 0.33 0.48 0.33
"make.unique" 0.48 0.33 0.42 0.29
"as.integer" 0.46 0.32 0.46 0.32
"sys.parent" 0.46 0.32 0.46 0.32
"as.vector" 0.46 0.32 0.42 0.29
"tryCatchOne" 0.46 0.32 0.04 0.03
".subset2" 0.44 0.30 0.44 0.30
"matrix" 0.44 0.30 0.38 0.26
"getGeneric" 0.44 0.30 0.06 0.04
"cat" 0.42 0.29 0.36 0.25
".set_row_names" 0.42 0.29 0.32 0.22
"doTryCatch" 0.42 0.29 0.22 0.15
"is.int" 0.40 0.27 0.34 0.23
"NextMethod" 0.38 0.26 0.38 0.26
"identical" 0.38 0.26 0.08 0.05
"attr<-" 0.36 0.25 0.36 0.25
"Make.row.names" 0.36 0.25 0.24 0.16
"row.names<-.data.frame" 0.36 0.25 0.22 0.15
"lengths" 0.34 0.23 0.34 0.23
".getGeneric" 0.34 0.23 0.08 0.05
"get" 0.32 0.22 0.30 0.21
".classEnv" 0.32 0.22 0.12 0.08
"NCOL" 0.32 0.22 0.04 0.03
"el" 0.28 0.19 0.28 0.19
"getOption" 0.28 0.19 0.28 0.19
"match.names" 0.28 0.19 0.14 0.10
"pmin" 0.28 0.19 0.14 0.10
"elNamed" 0.28 0.19 0.04 0.03
"c.gvector" 0.28 0.19 0.00 0.00
"anyNA" 0.26 0.18 0.26 0.18
"is.list" 0.24 0.16 0.24 0.16
"paste0" 0.22 0.15 0.22 0.15
".subset" 0.22 0.15 0.22 0.15
"as.data.frame.data.frame" 0.22 0.15 0.12 0.08
".getMethodsTable" 0.22 0.15 0.08 0.05
"getClass" 0.22 0.15 0.02 0.01
":" 0.20 0.14 0.20 0.14
"class<-" 0.20 0.14 0.20 0.14
".cacheGeneric" 0.20 0.14 0.02 0.01
".cacheGenericTable" 0.18 0.12 0.18 0.12
"nargs" 0.18 0.12 0.18 0.12
"as.data.frame.vector" 0.18 0.12 0.16 0.11
"as.list.data.frame" 0.18 0.12 0.12 0.08
"library" 0.18 0.12 0.00 0.00
"is.function" 0.16 0.11 0.16 0.11
"names<-" 0.16 0.11 0.16 0.11
"unclass" 0.16 0.11 0.16 0.11
".requirePackage" 0.16 0.11 0.12 0.08
"which" 0.16 0.11 0.12 0.08
"levels.default" 0.16 0.11 0.10 0.07
"getGenericFun" 0.16 0.11 0.06 0.04
".getRequiredPackages2" 0.16 0.11 0.00 0.00
"ncol" 0.16 0.11 0.00 0.00
"!" 0.14 0.10 0.14 0.10
"list" 0.14 0.10 0.14 0.10
"seq.int" 0.14 0.10 0.14 0.10
"slot<-" 0.14 0.10 0.14 0.10
"default.stringsAsFactors" 0.14 0.10 0.08 0.05
"is.zero" 0.14 0.10 0.00 0.00
"is.zero.gvector" 0.14 0.10 0.00 0.00
"loadNamespace" 0.14 0.10 0.00 0.00
"character" 0.12 0.08 0.12 0.08
"complete.cases" 0.12 0.08 0.12 0.08
"is.na" 0.12 0.08 0.12 0.08
"is.ordered" 0.12 0.08 0.12 0.08
"nzchar" 0.12 0.08 0.12 0.08
"exists" 0.12 0.08 0.10 0.07
"integer" 0.10 0.07 0.10 0.07
"is.expression" 0.10 0.07 0.10 0.07
"prod" 0.10 0.07 0.10 0.07
"sprintf" 0.10 0.07 0.08 0.05
"rows" 0.10 0.07 0.00 0.00
"rows_df" 0.10 0.07 0.00 0.00
".updateMethodsInTable" 0.10 0.07 0.00 0.00
"abs" 0.08 0.05 0.08 0.05
"ifelse" 0.08 0.05 0.06 0.04
"simplify2array" 0.08 0.05 0.04 0.03
".checkGroupSigLength" 0.08 0.05 0.00 0.00
".sigLabel" 0.08 0.05 0.00 0.00
"!=" 0.06 0.04 0.06 0.04
"as.call" 0.06 0.04 0.06 0.04
"attributes" 0.06 0.04 0.06 0.04
"max" 0.06 0.04 0.06 0.04
"seq_along" 0.06 0.04 0.06 0.04
"$.bunch" 0.06 0.04 0.02 0.01
"AddDensity" 0.06 0.04 0.00 0.00
"[.bunch" 0.06 0.04 0.00 0.00
"getGroupMembers" 0.06 0.04 0.00 0.00
"indexes.bunch" 0.06 0.04 0.00 0.00
"Recall" 0.06 0.04 0.00 0.00
"==" 0.04 0.03 0.04 0.03
"(" 0.04 0.03 0.04 0.03
"%%" 0.04 0.03 0.04 0.03
"allNames" 0.04 0.03 0.04 0.03
"baseenv" 0.04 0.03 0.04 0.03
"class" 0.04 0.03 0.04 0.03
".class1" 0.04 0.03 0.04 0.03
"getNamespace" 0.04 0.03 0.04 0.03
"is.atomic" 0.04 0.03 0.04 0.03
"isList" 0.04 0.03 0.04 0.03
"logical" 0.04 0.03 0.04 0.03
"objects" 0.04 0.03 0.04 0.03
"oldClass" 0.04 0.03 0.04 0.03
"lazyLoadDBfetch" 0.04 0.03 0.02 0.01
"AddField" 0.04 0.03 0.00 0.00
"attach" 0.04 0.03 0.00 0.00
"attachNamespace" 0.04 0.03 0.00 0.00
"checkConflicts" 0.04 0.03 0.00 0.00
"is.zero.pAlg" 0.04 0.03 0.00 0.00
".local" 0.04 0.03 0.00 0.00
".recMembers" 0.04 0.03 0.00 0.00
"/" 0.02 0.01 0.02 0.01
"AddNodeType" 0.02 0.01 0.02 0.01
"ceiling" 0.02 0.01 0.02 0.01
"col" 0.02 0.01 0.02 0.01
"environment" 0.02 0.01 0.02 0.01
"get0" 0.02 0.01 0.02 0.01
"is.call" 0.02 0.01 0.02 0.01
"is.character" 0.02 0.01 0.02 0.01
"is.environment" 0.02 0.01 0.02 0.01
"is.pairlist" 0.02 0.01 0.02 0.01
"min" 0.02 0.01 0.02 0.01
"rep.int" 0.02 0.01 0.02 0.01
"slot" 0.02 0.01 0.02 0.01
"stdout" 0.02 0.01 0.02 0.01
"which.max" 0.02 0.01 0.02 0.01
"as.data.frame.matrix" 0.02 0.01 0.00 0.00
"assign" 0.02 0.01 0.00 0.00
"$<-.bunch" 0.02 0.01 0.00 0.00
"bunch" 0.02 0.01 0.00 0.00
"cbind" 0.02 0.01 0.00 0.00
"checkAtAssignment" 0.02 0.01 0.00 0.00
"genericForPrimitive" 0.02 0.01 0.00 0.00
".genericOrImplicit" 0.02 0.01 0.00 0.00
".getGenericFromCache" 0.02 0.01 0.00 0.00
".getGenericFromCacheTable" 0.02 0.01 0.00 0.00
"implicitGeneric" 0.02 0.01 0.00 0.00
$sample.interval
[1] 0.02
$sampling.time
[1] 145.46
@shkodm
Copy link
Author

shkodm commented Jun 16, 2016

both were compiled on one core, with make d2q9 and make d3q27 , and old polyAlgebra package

@shkodm
Copy link
Author

shkodm commented Jun 18, 2016

With new polyAlgebra package:

d3q27:

function name total.time total.pct self.time self.pct
"Anonymous" 127.28 100.00 1.90 1.49
"eval" 127.28 100.00 1.40 1.10
"FUN" 126.88 99.69 1.22 0.96
"lapply" 126.86 99.67 1.64 1.29
"txtlapply" 123.92 97.36 0.00 0.00
"field.access" 122.92 96.57 0.02 0.02
"Ops.gvector.apply" 118.40 93.02 0.10 0.08
"fun" 114.12 89.66 0.50 0.39
"offset.p" 98.66 77.51 0.00 0.00
"load.field" 79.40 62.38 0.00 0.00
"aggregate" 72.04 56.60 0.42 0.33
"aggregate.pAlg" 71.82 56.43 1.42 1.12
"*" 68.00 53.43 0.06 0.05
"*.pAlg" 66.38 52.15 1.62 1.27
"aggregate.data.frame" 49.14 38.61 1.72 1.35
"save.field" 43.52 34.19 0.00 0.00
"+" 43.14 33.89 0.16 0.13
"+.pAlg" 34.06 26.76 0.18 0.14
"[" 28.72 22.56 0.92 0.72
"[.data.frame" 24.94 19.59 7.64 6.00
"-" 21.82 17.14 0.14 0.11
"-.pAlg" 19.66 15.45 0.08 0.06
"data.frame" 16.76 13.17 2.78 2.18
"match" 16.36 12.85 9.66 7.59
"as.factor" 15.14 11.90 0.26 0.20
"%in%" 14.96 11.75 3.10 2.44
"rbind" 14.04 11.03 3.68 2.89
"factor" 13.68 10.75 1.58 1.24
"pAlg" 11.74 9.22 0.52 0.41
"deparse" 11.48 9.02 2.80 2.20
"as.data.frame" 10.42 8.19 0.94 0.74
"match.arg" 10.02 7.87 1.04 0.82
"[[" 9.48 7.45 1.20 0.94
"new" 9.02 7.09 0.06 0.05
"initialize" 8.84 6.95 0.90 0.71
"standardGeneric" 8.78 6.90 0.26 0.20
"C" 8.60 6.76 0.00 0.00
"gsub" 8.56 6.73 1.66 1.30
"ToC" 8.48 6.66 0.04 0.03
"if.apply" 8.30 6.52 0.00 0.00
"[[.data.frame" 8.28 6.51 2.70 2.12
"req" 8.24 6.47 0.08 0.06
"[<-" 8.08 6.35 0.18 0.14
"[<-.data.frame" 7.88 6.19 2.76 2.17
"Ops.data.frame" 7.60 5.97 0.48 0.38
"sapply" 7.22 5.67 0.02 0.02
"field.access.one" 7.06 5.55 0.02 0.02
"format" 6.90 5.42 0.66 0.52
"sort.list" 6.60 5.19 0.62 0.49
"move.pocket" 6.60 5.19 0.00 0.00
"paste" 6.56 5.15 0.92 0.72
"new.gvector" 6.52 5.12 0.12 0.09
"force" 6.46 5.08 0.22 0.17
"split" 6.40 5.03 0.42 0.33
"as.data.frame.numeric" 6.30 4.95 0.60 0.47
"format.default" 6.24 4.90 0.80 0.63
"split.default" 5.96 4.68 0.48 0.38
".deparseOpts" 5.54 4.35 1.64 1.29
"unique" 5.32 4.18 2.70 2.12
"dim" 5.10 4.01 1.64 1.29
"as.data.frame.list" 4.46 3.50 0.14 0.11
"anyDuplicated" 4.12 3.24 2.94 2.31
"mode" 3.56 2.80 0.90 0.71
"nrow" 3.56 2.80 0.38 0.30
"dim.data.frame" 3.46 2.72 0.86 0.68
"names" 3.36 2.64 3.36 2.64
"source" 3.36 2.64 0.00 0.00
"withVisible" 3.36 2.64 0.00 0.00
"length" 3.18 2.50 3.18 2.50
"finish.pAlg" 3.04 2.39 1.62 1.27
"$" 3.04 2.39 0.24 0.19
"c" 3.00 2.36 2.64 2.07
"offsets" 2.92 2.29 0.00 0.00
"$.data.frame" 2.76 2.17 0.38 0.30
"PV" 2.64 2.07 0.00 0.00
"validObject" 2.62 2.06 0.42 0.33
"unique.default" 2.32 1.82 1.76 1.38
"sort" 2.24 1.76 0.46 0.36
"rev" 2.20 1.73 0.38 0.30
"order" 2.08 1.63 0.70 0.55
"as" 2.06 1.62 0.14 0.11
"[[<-" 2.04 1.60 0.08 0.06
"as.list" 2.02 1.59 1.26 0.99
"unlist" 1.96 1.54 1.32 1.04
"[[<-.data.frame" 1.96 1.54 1.14 0.90
"NROW" 1.92 1.51 0.50 0.39
"pmatch" 1.88 1.48 1.24 0.97
"structure" 1.86 1.46 0.92 0.72
"rev.default" 1.82 1.43 0.16 0.13
"make.names" 1.80 1.41 0.74 0.58
"prettyNum" 1.70 1.34 1.52 1.19
"formals" 1.64 1.29 0.70 0.55
"as.character" 1.48 1.16 1.48 1.16
"sort.default" 1.36 1.07 0.08 0.06
"gapply" 1.30 1.02 0.10 0.08
"sort.int" 1.28 1.01 0.36 0.28
"is.factor" 1.22 0.96 1.22 0.96
"sys.call" 1.20 0.94 1.20 0.94
"possibleExtends" 1.20 0.94 0.36 0.28
"anyDuplicated.default" 1.18 0.93 1.18 0.93
"is" 1.18 0.93 0.22 0.17
"ToC.gvector" 1.16 0.91 0.00 0.00
".row_names_info" 1.12 0.88 1.12 0.88
"getClassDef" 1.00 0.79 0.42 0.33
"do.call" 1.00 0.79 0.38 0.30
"$<-" 0.98 0.77 0.14 0.11
"ToC.pAlg" 0.98 0.77 0.02 0.02
"sys.function" 0.94 0.74 0.32 0.25
"all" 0.92 0.72 0.92 0.72
"$<-.data.frame" 0.84 0.66 0.66 0.52
"as.data.frame.integer" 0.82 0.64 0.14 0.11
".findMethodInTable" 0.82 0.64 0.08 0.06
".quickCoerceSelect" 0.82 0.64 0.00 0.00
"setdiff" 0.80 0.63 0.10 0.08
"tryCatch" 0.78 0.61 0.08 0.06
"try" 0.78 0.61 0.00 0.00
"union" 0.72 0.57 0.02 0.02
"sys.parent" 0.66 0.52 0.66 0.52
".getClassFromCache" 0.66 0.52 0.60 0.47
"tryCatchList" 0.66 0.52 0.08 0.06
"getGeneric" 0.66 0.52 0.04 0.03
"make.context" 0.62 0.49 0.00 0.00
"any" 0.60 0.47 0.60 0.47
"as.list.default" 0.60 0.47 0.60 0.47
".identC" 0.60 0.47 0.54 0.42
"row.names<-" 0.60 0.47 0.16 0.13
"is.numeric" 0.58 0.46 0.58 0.46
"match.fun" 0.58 0.46 0.54 0.42
"attr" 0.56 0.44 0.56 0.44
"is.matrix" 0.56 0.44 0.56 0.44
"tryCatchOne" 0.56 0.44 0.04 0.03
".getGeneric" 0.54 0.42 0.20 0.16
"doTryCatch" 0.52 0.41 0.14 0.11
"as.integer" 0.50 0.39 0.50 0.39
"as.vector" 0.48 0.38 0.38 0.30
"cat" 0.48 0.38 0.32 0.25
".subset2" 0.46 0.36 0.46 0.36
"levels" 0.46 0.36 0.40 0.31
"NextMethod" 0.44 0.35 0.44 0.35
"row.names<-.data.frame" 0.44 0.35 0.28 0.22
"vapply" 0.44 0.35 0.22 0.17
"NCOL" 0.36 0.28 0.14 0.11
".classEnv" 0.36 0.28 0.04 0.03
"c.gvector" 0.36 0.28 0.02 0.02
"data.matrix" 0.36 0.28 0.02 0.02
"elNamed" 0.34 0.27 0.10 0.08
"sum" 0.32 0.25 0.32 0.25
"anyNA" 0.30 0.24 0.30 0.24
"is.na" 0.30 0.24 0.30 0.24
"as.data.frame.data.frame" 0.30 0.24 0.14 0.11
"match.names" 0.30 0.24 0.14 0.11
"el" 0.28 0.22 0.28 0.22
"library" 0.28 0.22 0.00 0.00
".set_row_names" 0.26 0.20 0.14 0.11
".cacheGeneric" 0.26 0.20 0.02 0.02
"loadNamespace" 0.26 0.20 0.00 0.00
"parent.frame" 0.24 0.19 0.24 0.19
".cacheGenericTable" 0.24 0.19 0.22 0.17
"make.unique" 0.24 0.19 0.22 0.17
"Make.row.names" 0.24 0.19 0.20 0.16
"!" 0.22 0.17 0.22 0.17
"class<-" 0.22 0.17 0.22 0.17
"is.list" 0.22 0.17 0.22 0.17
"lengths" 0.22 0.17 0.22 0.17
"nargs" 0.22 0.17 0.22 0.17
"paste0" 0.22 0.17 0.22 0.17
"identical" 0.22 0.17 0.06 0.05
"ncol" 0.22 0.17 0.04 0.03
"is.data.frame" 0.20 0.16 0.20 0.16
"nzchar" 0.20 0.16 0.20 0.16
".requirePackage" 0.20 0.16 0.06 0.05
"fastMult" 0.20 0.16 0.02 0.02
"attr<-" 0.18 0.14 0.18 0.14
"complete.cases" 0.18 0.14 0.18 0.14
"getOption" 0.18 0.14 0.18 0.14
"unclass" 0.18 0.14 0.18 0.14
"getClass" 0.18 0.14 0.10 0.08
".getMethodsTable" 0.18 0.14 0.06 0.05
".sigLabel" 0.18 0.14 0.00 0.00
"seq_along" 0.16 0.13 0.16 0.13
"as.list.data.frame" 0.16 0.13 0.08 0.06
".checkGroupSigLength" 0.16 0.13 0.02 0.02
".getRequiredPackages2" 0.16 0.13 0.00 0.00
"Recall" 0.16 0.13 0.00 0.00
".updateMethodsInTable" 0.16 0.13 0.00 0.00
"attributes" 0.14 0.11 0.14 0.11
"list" 0.14 0.11 0.14 0.11
"names<-" 0.14 0.11 0.14 0.11
"exists" 0.14 0.11 0.10 0.08
"is.zero" 0.14 0.11 0.00 0.00
"is.zero.gvector" 0.14 0.11 0.00 0.00
"getNamespace" 0.12 0.09 0.12 0.09
"is.atomic" 0.12 0.09 0.12 0.09
"seq.int" 0.12 0.09 0.12 0.09
"slot<-" 0.12 0.09 0.12 0.09
"get" 0.12 0.09 0.10 0.08
"getGenericFun" 0.12 0.09 0.04 0.03
".Call" 0.10 0.08 0.10 0.08
"integer" 0.10 0.08 0.10 0.08
"stdout" 0.10 0.08 0.10 0.08
".subset" 0.10 0.08 0.10 0.08
"which" 0.10 0.08 0.10 0.08
"matrix" 0.10 0.08 0.08 0.06
"asNamespace" 0.10 0.08 0.02 0.02
"simplify2array" 0.10 0.08 0.02 0.02
"namespaceImportFrom" 0.10 0.08 0.00 0.00
"class" 0.08 0.06 0.08 0.06
"is.ordered" 0.08 0.06 0.08 0.06
"max" 0.08 0.06 0.08 0.06
"seq" 0.08 0.06 0.04 0.03
"getGroupMembers" 0.08 0.06 0.00 0.00
".recMembers" 0.08 0.06 0.00 0.00
"==" 0.06 0.05 0.06 0.05
"!=" 0.06 0.05 0.06 0.05
"as.call" 0.06 0.05 0.06 0.05
"asMethod" 0.06 0.05 0.06 0.05
"character" 0.06 0.05 0.06 0.05
"get0" 0.06 0.05 0.06 0.05
"is.expression" 0.06 0.05 0.06 0.05
"is.function" 0.06 0.05 0.06 0.05
"logical" 0.06 0.05 0.06 0.05
"slot" 0.06 0.05 0.06 0.05
"sprintf" 0.06 0.05 0.06 0.05
"levels.default" 0.06 0.05 0.02 0.02
"AddDensity" 0.06 0.05 0.00 0.00
"AddField" 0.06 0.05 0.00 0.00
"rows" 0.06 0.05 0.00 0.00
"rows_df" 0.06 0.05 0.00 0.00
".class1" 0.04 0.03 0.04 0.03
"environment" 0.04 0.03 0.04 0.03
"is.call" 0.04 0.03 0.04 0.03
"oldClass" 0.04 0.03 0.04 0.03
"packageSlot" 0.04 0.03 0.04 0.03
"seq.default" 0.04 0.03 0.04 0.03
"lazyLoadDBfetch" 0.04 0.03 0.02 0.02
"as.data.frame.logical" 0.04 0.03 0.00 0.00
"[.bunch" 0.04 0.03 0.00 0.00
"$.bunch" 0.04 0.03 0.00 0.00
".genericOrImplicit" 0.04 0.03 0.00 0.00
"implicitGeneric" 0.04 0.03 0.00 0.00
"indexes.bunch" 0.04 0.03 0.00 0.00
">" 0.02 0.02 0.02 0.02
":" 0.02 0.02 0.02 0.02
"baseenv" 0.02 0.02 0.02 0.02
"col" 0.02 0.02 0.02 0.02
"default.stringsAsFactors" 0.02 0.02 0.02 0.02
"is.character" 0.02 0.02 0.02 0.02
"is.pairlist" 0.02 0.02 0.02 0.02
"objects" 0.02 0.02 0.02 0.02
"AddGlobal" 0.02 0.02 0.00 0.00
"addImports" 0.02 0.02 0.00 0.00
"AddNodeType" 0.02 0.02 0.00 0.00
"allNames" 0.02 0.02 0.00 0.00
"apply" 0.02 0.02 0.00 0.00
"as.data.frame.character" 0.02 0.02 0.00 0.00
"assign" 0.02 0.02 0.00 0.00
"attach" 0.02 0.02 0.00 0.00
"attachNamespace" 0.02 0.02 0.00 0.00
"cbind" 0.02 0.02 0.00 0.00
"checkConflicts" 0.02 0.02 0.00 0.00
"genericForPrimitive" 0.02 0.02 0.00 0.00
".getGenericFromCacheTable" 0.02 0.02 0.00 0.00
".getImplicitGeneric" 0.02 0.02 0.00 0.00
".getImplicitGenericFromCache" 0.02 0.02 0.00 0.00
"getNamespaceName" 0.02 0.02 0.00 0.00
"is.zero.pAlg" 0.02 0.02 0.00 0.00
"library.dynam" 0.02 0.02 0.00 0.00
".local" 0.02 0.02 0.00 0.00
"makeGeneric" 0.02 0.02 0.00 0.00
".mlistAddToTable" 0.02 0.02 0.00 0.00
"namespaceImport" 0.02 0.02 0.00 0.00
".setupMethodsTables" 0.02 0.02 0.00 0.00
".storeMlist" 0.02 0.02 0.00 0.00
$sample.interval
[1] 0.02
$sampling.time
[1] 127.28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment