benchmark/basic.yml in red_amber-0.2.3 vs benchmark/basic.yml in red_amber-0.3.0
- old
+ new
@@ -1,12 +1,19 @@
+loop_count: 3
+
contexts:
- name: HEAD
prelude: |
$LOAD_PATH.unshift(File.expand_path('lib'))
- - gems:
+ - name: 0.2.3
+ gems:
+ red_amber: 0.2.3
+ - name: 0.2.0
+ gems:
red_amber: 0.2.0
- - gems:
+ - name: 0.1.5
+ gems:
red_amber: 0.1.5
prelude: |
require 'red_amber'
require 'datasets-arrow'
@@ -19,11 +26,11 @@
benchmark:
'B01: Pick([]) by a key name': |
df[:flight]
- 'B02: Pick by index': |
- df[df.keys[9]]
+ 'B02a: Pick([]) by key names': |
+ df[:carrier, :flight]
'B03: Pick by key names': |
df.pick(:carrier, :flight)
'B04: Drop by key names': |