Merge: Benchmark strings update
authorJean Privat <jean@pryen.org>
Mon, 24 Aug 2015 17:56:44 +0000 (13:56 -0400)
committerJean Privat <jean@pryen.org>
Mon, 24 Aug 2015 17:56:44 +0000 (13:56 -0400)
commitf8c1cfa73e1547015dbaf0807ae707d903a1cc8c
tree7b69efe3195901d17a2e48fd3e6323214f54baef
parent6e238156948b760e9fc5a5a130c0590e9307018e
parent2967eb8d14d526f899d9975e7828024697624edd
Merge: Benchmark strings update

Update on the benchmarks for String, four micro-benchmarks are now available:

* chain_concat: measures the performance of concatenation
* index_bench: measures random access in a String
* iteration_bench: measures the performance of iteration on a string
* substr_bench: measures the performance of substring on a string

The logic for the benches has changed a lot, instead of working locally with the different structures and having a directory with all the variations (more to come in a near future), now a patch directory is included with the benches for Strings, and will work with all the variants one by one on the chosen benchmark.

Pull-Request: #1640
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>