Skip to content

Instantly share code, notes, and snippets.

@Epigene
Created October 14, 2017 17:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Epigene/aeb3fbe1cd5061cf7bda58e8c755bbbc to your computer and use it in GitHub Desktop.
Save Epigene/aeb3fbe1cd5061cf7bda58e8c755bbbc to your computer and use it in GitHub Desktop.
Raw data for setup strategy comparison
file line_number group time
./spec/setup_benchmark.rb 9 SetupBenchmark::NewVSAllOthersWhenTestingBookVampireTitle::WhenSettingUpWithNew 0.198
./spec/setup_benchmark.rb 17 SetupBenchmark::NewVSAllOthersWhenTestingBookVampireTitle::WhenSettingUpWithInstanceDouble 0.173
./spec/setup_benchmark.rb 25 SetupBenchmark::NewVSAllOthersWhenTestingBookVampireTitle::WhenSettingUpWithFactoryGirlBuildStubbed 0.396
./spec/setup_benchmark.rb 33 SetupBenchmark::NewVSAllOthersWhenTestingBookVampireTitle::WhenSettingUpWithFactoryGirlBuild 0.916
./spec/setup_benchmark.rb 41 SetupBenchmark::NewVSAllOthersWhenTestingBookVampireTitle::WhenSettingUpWithFactoryGirlCreate 1.155
./spec/setup_benchmark.rb 55 SetupBenchmark::InstanceDoubleVSFactoryGirlBuildStubbedFactoryGirlBuildAndFactoryGirlCreate::WhenSettingUpWithInstanceDouble 0.443
./spec/setup_benchmark.rb 66 SetupBenchmark::InstanceDoubleVSFactoryGirlBuildStubbedFactoryGirlBuildAndFactoryGirlCreate::WhenSettingUpWithFactoryGirlBuildStubbed 0.724
./spec/setup_benchmark.rb 74 SetupBenchmark::InstanceDoubleVSFactoryGirlBuildStubbedFactoryGirlBuildAndFactoryGirlCreate::WhenSettingUpWithFactoryGirlBuild 0.909
./spec/setup_benchmark.rb 82 SetupBenchmark::InstanceDoubleVSFactoryGirlBuildStubbedFactoryGirlBuildAndFactoryGirlCreate::WhenSettingUpWithFactoryGirlCreate 1.157
./spec/setup_benchmark.rb 98 SetupBenchmark::FactoryGirlBuildStubbedVSFactoryGirlBuildFactoryGirlCreate::WhenSettingUpWithFactoryGirlBuildStubbed 0.385
./spec/setup_benchmark.rb 106 SetupBenchmark::FactoryGirlBuildStubbedVSFactoryGirlBuildFactoryGirlCreate::WhenSettingUpWithFactoryGirlBuild 0.837
./spec/setup_benchmark.rb 114 SetupBenchmark::FactoryGirlBuildStubbedVSFactoryGirlBuildFactoryGirlCreate::WhenSettingUpWithFactoryGirlCreate 1.138
./spec/setup_benchmark.rb 128 SetupBenchmark::FactoryGirlBuildVSFactoryGirlCreate::WhenSettingUpWithFactoryGirlBuild 1.146
./spec/setup_benchmark.rb 140 SetupBenchmark::FactoryGirlBuildVSFactoryGirlCreate::WhenSettingUpWithFactoryGirlCreate 1.344
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment