Skip to content

Improve API request profiling using Silk #13636

@rtibbles

Description

@rtibbles

This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

Desired behavior

Currently our only tool for profiling requests is Django Debug Toolbar. This is not very well suited to API request profiling.

@bjester has suggested that Django Silk https://github.com/jazzband/django-silk might be a better alternative. We should investigate integrating this as a development only tool. If it works as expected, it can be added and Django Debug Toolbar removed.

Additionally, hopefully this could be "always on" in development, or at least easy to toggle on - rather than the slightly janky way that Django Debug Toolbar is currently activated.

Value add

This would allow us to do some better performance testing and profiling of recent filters added to Kolibri, especially within the scope of this PR: #13608

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions