-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 performance profiling to dbt #1001
Comments
test this on windows |
This is it: https://github.com/P403n1x87/austin
It's a stack profiler, which I think is probably ideal for our use cases.
I'll do some testing. The big downside is that due to the nature of it we'd
have to compile or make users have it installed to do profiling. But at
least it'll be correct in the presence of threads, which seems valuable.
…On Wed, Nov 14, 2018, 11:55 AM Drew Banin ***@***.*** wrote:
@beckjake <https://github.com/beckjake> can you share a link to the
profiler you mentioned earlier today? I'd be cool with either merging
#1020 <#1020> as-is, or
potentially using a different profiler if it makes our lives easier.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1001 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAbmzl2SoNXirYGdLvX72pxdB1jMAMDqks5uvGc5gaJpZM4WoZqO>
.
|
I've looked at it some more, I think we should just merge #1020 with some minor modifications - in particular I would like to add a flag ( My reasoning here is that at some point (maybe even as soon as #1128 merges!) we'll have hit all the low-hanging fruit in parsing/setup and we'll want performance information from dbt execution, which #1020 can't currently give us. |
Yeah, I'm doing it now (I think it will be very simple, I'll open a PR against the I don't think #813 will interact with this, as what I'm planning should just preserve any existing order and not care about the node selector behavior at all (which is what I think matters here) |
Feature
Feature description
Application performance is important, but it can be difficult to pin down the performance impact of code changes. Profiling will help us benchmark dbt runtimes, and then evaluate the performance impact of prospective code changes.
I'm sure there are lots of low-hanging fruit, as we haven't dedicated a ton of brain cycles to performance recently. Adding profiling is the first step in any prospective performance optimization.
Who will this benefit?
Folks who use dbt; folks who have important things to do with their time; whiterose
The text was updated successfully, but these errors were encountered: