Skip to content

Commit 3fe7e11

Browse files
committed
Added Pharo to overview plot script
Should have been committed earlier. Signed-off-by: Stefan Marr <[email protected]>
1 parent 58a39a6 commit 3fe7e11

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

report/overview.Rmd

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,12 @@ vm_names <- c("Java8U66" = "Java",
2525
"JRubyJ8" = "JRuby",
2626
"JRubyTruffleEnterprise" = "JRuby+Truffle",
2727
"MRI23" = "MRI",
28-
"RBX314" = "Rubinius")
28+
"RBX314" = "Rubinius",
29+
"Pharo" = "Pharo")
2930
3031
3132
vms_all <- names(vm_names)
32-
vms_slow <- c("RBX314", "MRI23", "JRubyJ8")
33+
vms_slow <- c("RBX314", "MRI23", "JRubyJ8", "Pharo")
3334
vms_fast <- c("Crystal", "GraalJS", "JRubyTruffleEnterprise",
3435
"Java8U66", "Node", "SOMns-Enterprise",
3536
"TruffleSOM-TOM-Enterprise")
@@ -38,17 +39,19 @@ vms_truffle <- c("GraalJS", "JRubyTruffleEnterprise",
3839
3940
assert_that(all(sort(c(vms_slow, vms_fast)) == sort(vms_all))) ## sanity check
4041
41-
vm_colors <- brewer.pal(10, "Paired") # to replace scale_fill_brewer(type = "qual", palette = "Paired")
42+
vm_colors <- brewer.pal(11, "Paired") # to replace scale_fill_brewer(type = "qual", palette = "Paired")
4243
names(vm_colors) <- vm_names
4344
4445
4546
data <- load_data_file("data/benchmark.data.bz2")
47+
data_p <- load_data_file("data/pharo.data")
48+
data <- rbind(data, data_p)
4649
data <- droplevels(subset(data, Benchmark != "DeltaBlueV8" & VM %in% vms_all,
4750
select = c(Value, Unit, Benchmark, VM, Iteration)))
4851
4952
data_fast_vms <- droplevels(subset(data, Iteration >= 1500 & Iteration < 2500 & VM %in% vms_fast))
5053
data_very_slow_vms <- droplevels(subset(data, VM %in% vms_slow & VM != "JRubyJ8"))
51-
data_slow_vms <- droplevels(subset(data, Iteration >= 100 & VM == "JRubyJ8"))
54+
data_slow_vms <- droplevels(subset(data, Iteration >= 100 & (VM == "JRubyJ8" | VM == "Pharo")))
5255
data <- rbind(data_fast_vms, data_slow_vms, data_very_slow_vms)
5356
5457

0 commit comments

Comments
 (0)