Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add benchmarks for csv crate #25

Merged
merged 1 commit into from
Oct 5, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ jobs:
<<: *bench_crate
snap_0_2_4:
<<: *bench_crate
csv_1_0_2:
<<: *bench_crate

workflows:
version: 2
Expand Down Expand Up @@ -167,6 +169,9 @@ workflows:
- snap_0_2_4:
requires:
- fmt
- csv_1_0_2:
requires:
- fmt
- big_green_button:
type: approval
filters:
Expand Down
114 changes: 72 additions & 42 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ askama = "0.7"
members = [
"./benches/brotli_1_1_3",
"./benches/crossbeam_epoch_0_4_0",
"./benches/csv_1_0_2",
"./benches/diesel_1_1_1",
"./benches/doom_9e197d7",
"./benches/inflate_0_3_4",
Expand Down
13 changes: 13 additions & 0 deletions benches/csv_1_0_2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[package]
name = "csv_1_0_2"
version = "0.1.0"
authors = []

[dependencies]
csv = "=1.0.2"
serde = "1.0.55"
serde_derive = "1.0.55"
lolbench_support = { path = "../../support" }

[dev-dependencies]
lolbench = { path = "../../" }
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extern crate csv_1_0_2 ; extern crate lolbench_support ; use lolbench_support :: { criterion_from_env , init_logging } ; fn main ( ) { init_logging ( ) ; let mut crit = criterion_from_env ( ) ; csv_1_0_2 :: count_game_deserialize_borrowed_bytes ( & mut crit ) ; }
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extern crate csv_1_0_2 ; extern crate lolbench_support ; use lolbench_support :: { criterion_from_env , init_logging } ; fn main ( ) { init_logging ( ) ; let mut crit = criterion_from_env ( ) ; csv_1_0_2 :: count_game_deserialize_borrowed_str ( & mut crit ) ; }
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extern crate csv_1_0_2 ; extern crate lolbench_support ; use lolbench_support :: { criterion_from_env , init_logging } ; fn main ( ) { init_logging ( ) ; let mut crit = criterion_from_env ( ) ; csv_1_0_2 :: count_game_deserialize_owned_bytes ( & mut crit ) ; }
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extern crate csv_1_0_2 ; extern crate lolbench_support ; use lolbench_support :: { criterion_from_env , init_logging } ; fn main ( ) { init_logging ( ) ; let mut crit = criterion_from_env ( ) ; csv_1_0_2 :: count_game_deserialize_owned_str ( & mut crit ) ; }
1 change: 1 addition & 0 deletions benches/csv_1_0_2/src/bin/count-game-iter-bytes.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extern crate csv_1_0_2 ; extern crate lolbench_support ; use lolbench_support :: { criterion_from_env , init_logging } ; fn main ( ) { init_logging ( ) ; let mut crit = criterion_from_env ( ) ; csv_1_0_2 :: count_game_iter_bytes ( & mut crit ) ; }
1 change: 1 addition & 0 deletions benches/csv_1_0_2/src/bin/count-game-iter-str.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extern crate csv_1_0_2 ; extern crate lolbench_support ; use lolbench_support :: { criterion_from_env , init_logging } ; fn main ( ) { init_logging ( ) ; let mut crit = criterion_from_env ( ) ; csv_1_0_2 :: count_game_iter_str ( & mut crit ) ; }
1 change: 1 addition & 0 deletions benches/csv_1_0_2/src/bin/count-game-read-bytes.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extern crate csv_1_0_2 ; extern crate lolbench_support ; use lolbench_support :: { criterion_from_env , init_logging } ; fn main ( ) { init_logging ( ) ; let mut crit = criterion_from_env ( ) ; csv_1_0_2 :: count_game_read_bytes ( & mut crit ) ; }
1 change: 1 addition & 0 deletions benches/csv_1_0_2/src/bin/count-game-read-str.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extern crate csv_1_0_2 ; extern crate lolbench_support ; use lolbench_support :: { criterion_from_env , init_logging } ; fn main ( ) { init_logging ( ) ; let mut crit = criterion_from_env ( ) ; csv_1_0_2 :: count_game_read_str ( & mut crit ) ; }
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extern crate csv_1_0_2 ; extern crate lolbench_support ; use lolbench_support :: { criterion_from_env , init_logging } ; fn main ( ) { init_logging ( ) ; let mut crit = criterion_from_env ( ) ; csv_1_0_2 :: count_game_serialize_owned_bytes ( & mut crit ) ; }
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extern crate csv_1_0_2 ; extern crate lolbench_support ; use lolbench_support :: { criterion_from_env , init_logging } ; fn main ( ) { init_logging ( ) ; let mut crit = criterion_from_env ( ) ; csv_1_0_2 :: count_game_serialize_owned_str ( & mut crit ) ; }
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extern crate csv_1_0_2 ; extern crate lolbench_support ; use lolbench_support :: { criterion_from_env , init_logging } ; fn main ( ) { init_logging ( ) ; let mut crit = criterion_from_env ( ) ; csv_1_0_2 :: count_mbta_deserialize_borrowed_bytes ( & mut crit ) ; }
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extern crate csv_1_0_2 ; extern crate lolbench_support ; use lolbench_support :: { criterion_from_env , init_logging } ; fn main ( ) { init_logging ( ) ; let mut crit = criterion_from_env ( ) ; csv_1_0_2 :: count_mbta_deserialize_borrowed_str ( & mut crit ) ; }
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extern crate csv_1_0_2 ; extern crate lolbench_support ; use lolbench_support :: { criterion_from_env , init_logging } ; fn main ( ) { init_logging ( ) ; let mut crit = criterion_from_env ( ) ; csv_1_0_2 :: count_mbta_deserialize_owned_bytes ( & mut crit ) ; }
Loading