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 crox to filter out short events #60

Merged
merged 1 commit into from
Oct 1, 2019

Conversation

andjo403
Copy link
Contributor

some files is to large to show in the browser
filter_duration_ms filter out all events that is shorter than specified limit

Copy link
Member

@wesleywiser wesleywiser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code looks fine to me but I wonder if milliseconds are not granular enough. Most queries complete in less than 1 ms so passing --filter-duration-ms=1 causes most of the events to be omitted from the file.

I wonder perhaps if this flag should be in microseconds?

@wesleywiser wesleywiser self-assigned this Sep 30, 2019
add possibility to reduce the json file due to some files is to large to show in the browser.
minimum_duration filter out all events that is shorter than specified duration
@andjo403
Copy link
Contributor Author

andjo403 commented Oct 1, 2019

changed to microseconds was I that not thought last night

Copy link
Member

@wesleywiser wesleywiser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

@wesleywiser wesleywiser merged commit 77d2bab into rust-lang:master Oct 1, 2019
@andjo403 andjo403 deleted the duration_filter branch October 1, 2019 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants