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

How do i trace a cap app where the time is sink #14

Open
jung-thomas opened this issue Jun 30, 2020 · 1 comment
Open

How do i trace a cap app where the time is sink #14

jung-thomas opened this issue Jun 30, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@jung-thomas
Copy link
Contributor

@albertlast
about performance how do i trace a cap app where the time is sink? is the business logic the elephant in the room or is the cds/db modell a bottleneck, how do i know what sql command got sended to the db that i could run a vizplan on this?

@jung-thomas jung-thomas self-assigned this Jun 30, 2020
@jung-thomas jung-thomas added this to To do in Adoption of Community Suggestions via automation Jun 30, 2020
@jung-thomas
Copy link
Contributor Author

Specifically to your question of the SQL Command if you set the DEBUG env, CDS will output the generated SQL to the console. There is even a nice, recent blog on this topic: https://blogs.sap.com/2020/06/04/debug-generated-sql-by-cap-framework/ and @qmacro covered this some months back in his live stream as well:
https://blogs.sap.com/2019/10/22/annotated-links-episode-40-of-hands-on-sap-dev-with-qmacro/#debug

@jung-thomas jung-thomas added the enhancement New feature or request label Jun 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant