Skip to content

Commit

Permalink
reorder benchmark runs
Browse files Browse the repository at this point in the history
  • Loading branch information
rmosolgo committed Jun 20, 2022
1 parent 0b40223 commit b12248a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmark/run.rb
Original file line number Diff line number Diff line change
Expand Up @@ -324,9 +324,9 @@ def self.profile_stack_depth
}
GRAPHQL

very_lazy_res = StackDepthSchema.execute(query_str, variables: { lazyThing: true, lazyStackTrace: true })
lazy_res = StackDepthSchema.execute(query_str, variables: { lazyThing: true, lazyStackTrace: false })
eager_res = StackDepthSchema.execute(query_str, variables: { lazyThing: false, lazyStackTrace: false })
lazy_res = StackDepthSchema.execute(query_str, variables: { lazyThing: true, lazyStackTrace: false })
very_lazy_res = StackDepthSchema.execute(query_str, variables: { lazyThing: true, lazyStackTrace: true })
get_depth = ->(result) { result["data"]["thing"]["thing"]["thing"]["thing"]["thing"]["stackTraceDepth"] }

puts <<~RESULT
Expand Down

0 comments on commit b12248a

Please sign in to comment.