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 option to specify stack frame depth of CPU sampler #129

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
Activate disabled spec
emilsoman committed Nov 4, 2015
commit a694bf1fc1db25a46cb7e45b856c2ffe1f1ea966
10 changes: 1 addition & 9 deletions spec/cpu_sampling_spec.rb
Original file line number Diff line number Diff line change
@@ -169,15 +169,7 @@
end
end

describe 'another test' do
let(:clock_type) { :cpu }
let(:operation) { lambda{ io_intensive_operation; cpu_intensive_operation; } }

it 'just runs the before block' do
end
end

pending 'when stack depth is specified' do
describe 'when stack depth is specified' do
let(:stack_depth) { 2 }
let(:clock_type) { :wall }
let(:operation) { lambda{ io_intensive_operation } }