Skip to content

Commit

Permalink
Added Pharo to overview plot script
Browse files Browse the repository at this point in the history
Should have been committed earlier.

Signed-off-by: Stefan Marr <[email protected]>
  • Loading branch information
smarr committed Aug 17, 2016
1 parent 58a39a6 commit 3fe7e11
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions report/overview.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@ vm_names <- c("Java8U66" = "Java",
"JRubyJ8" = "JRuby",
"JRubyTruffleEnterprise" = "JRuby+Truffle",
"MRI23" = "MRI",
"RBX314" = "Rubinius")
"RBX314" = "Rubinius",
"Pharo" = "Pharo")
vms_all <- names(vm_names)
vms_slow <- c("RBX314", "MRI23", "JRubyJ8")
vms_slow <- c("RBX314", "MRI23", "JRubyJ8", "Pharo")
vms_fast <- c("Crystal", "GraalJS", "JRubyTruffleEnterprise",
"Java8U66", "Node", "SOMns-Enterprise",
"TruffleSOM-TOM-Enterprise")
Expand All @@ -38,17 +39,19 @@ vms_truffle <- c("GraalJS", "JRubyTruffleEnterprise",
assert_that(all(sort(c(vms_slow, vms_fast)) == sort(vms_all))) ## sanity check
vm_colors <- brewer.pal(10, "Paired") # to replace scale_fill_brewer(type = "qual", palette = "Paired")
vm_colors <- brewer.pal(11, "Paired") # to replace scale_fill_brewer(type = "qual", palette = "Paired")
names(vm_colors) <- vm_names
data <- load_data_file("data/benchmark.data.bz2")
data_p <- load_data_file("data/pharo.data")
data <- rbind(data, data_p)
data <- droplevels(subset(data, Benchmark != "DeltaBlueV8" & VM %in% vms_all,
select = c(Value, Unit, Benchmark, VM, Iteration)))
data_fast_vms <- droplevels(subset(data, Iteration >= 1500 & Iteration < 2500 & VM %in% vms_fast))
data_very_slow_vms <- droplevels(subset(data, VM %in% vms_slow & VM != "JRubyJ8"))
data_slow_vms <- droplevels(subset(data, Iteration >= 100 & VM == "JRubyJ8"))
data_slow_vms <- droplevels(subset(data, Iteration >= 100 & (VM == "JRubyJ8" | VM == "Pharo")))
data <- rbind(data_fast_vms, data_slow_vms, data_very_slow_vms)
Expand Down

0 comments on commit 3fe7e11

Please sign in to comment.