DEV Community

0 seconds of 4 minutes, 55 secondsVolume 90%
Press shift question mark to access a list of keyboard shortcuts
00:00
00:00
04:55
 
AppMap Ruby for AppMap

Posted on

14 3

How to spot and fix Django ORM anti-patterns

A demonstration of how to optimize Django ORM by seeing how it makes SQL queries under the hood.

I use the open source AppMap extension for Visual Studio Code to record the code and SQL execution of an application test case, and then display that information as a graphical execution trace.

The graphical display of code and SQL shows how the ORM works behind the scenes.

Top comments (1)

Collapse
 
markoshiva profile image
Marko Shiva

One question for the app developers:

So cna I use the AppMap to test and map my GraphQL AP
I written with Graphene or Strawberry?

Auto-magically generate sequence diagrams of your code

🤖 Auto-magically generate sequence diagrams of your code's runtime behavior

Sequence diagrams are one of the best tools for developers and technical non-developers (like engineering managers and product managers) to use when discussing code design. Their inherent structure - objects flowing across the page, time flowing down the page - is intuitive and easy to learn.

Read full post

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay