Repository navigation
VS Code extension 0.2.0
·
237 commits
to main
since this release
Added
- The SQL count of each template line and property the dev server's renders ran, as inlay hints at the end
of the line (#188):6 queries,⚠ 6× same queryfor an N+1,1 query per renderon a property'sdef
line, with the statements, the component and the render's age in the tooltip. The extension reads the JSON
lines django-wireview (1.4.0 or later) writes in development to.wireview/render-queries/beside
manage.py, following each process's numbered segments as they grow, and keeps the latest render of each
component class, so a fixed N+1 clears on the next render. A template line is shown only while the file is
saved and is the source the server's running template was compiled from (a SHA-256 the server writes); a
property only while the file's stat is the one the server saw, to the nanosecond, and itsdefis on that
line. Nothing is shown pastwireview.renderQueries.maxAgeminutes, while the records read show two
processes writing over the same span of time (best effort: the server skips repeated renders, so writers
that overlap can be missed), or in Restricted Mode, where the records are not read. A line of a format major this extension does not know
is left, and said once in the output channel. - Settings
wireview.renderQueries.enable,.directory,.maxAgeand.mapRelative(for a server in a
container: match a record by its path relative to the server'sBASE_DIR), and the command
Wireview: Clear Render Queries.