[Rprotobuf-commits] r381 - pkg/inst/examples/HighFrequencyFinance
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sat Aug 14 20:16:09 CEST 2010
Author: edd
Date: 2010-08-14 20:16:09 +0200 (Sat, 14 Aug 2010)
New Revision: 381
Modified:
pkg/inst/examples/HighFrequencyFinance/loadInR.r
Log:
now works with 'moduled' -- nice
Modified: pkg/inst/examples/HighFrequencyFinance/loadInR.r
===================================================================
--- pkg/inst/examples/HighFrequencyFinance/loadInR.r 2010-08-13 18:48:03 UTC (rev 380)
+++ pkg/inst/examples/HighFrequencyFinance/loadInR.r 2010-08-14 18:16:09 UTC (rev 381)
@@ -100,19 +100,13 @@
dll <- dyn.load("protoModule.so")
-## uncomment next line to see a crash when running twice !
-#moduled(TRUE); moduled(TRUE); q()
-
-
-
-
print(benchmark(compiled = compiled(FALSE),
- #moduled = moduled(FALSE), ## uncomment and crash
+ moduled = moduled(FALSE),
basicUse = basicUse(FALSE),
betterUs = betterUse(FALSE),
preAlloc = preAlloc(FALSE),
order = "elapsed",
columns = c("test", "replications", "elapsed", "relative", "user.self", "sys.self"),
- replications = 3))
+ replications = 5))
More information about the Rprotobuf-commits
mailing list