has anyone audited/benchmarked the performance and memory footprint of the different view registration types against one another?
34 views
Skip to first unread message
Jonathan Vanasco
unread,
May 10, 2016, 12:47:10 PM5/10/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pylons-discuss
I know that `@view_config` has an initial hit on startup, but I am interested in anyt overall performance differences.
I set up a quick informal test with 200 routes/views, and the only noticeable difference was that using the `@view_config` decorator added (approximately) a 1MB overhead to the memory footprint.
The execution speed had no difference outside a margin of error.
Has anyone else done testing on this?
Bert JW Regeer
unread,
May 10, 2016, 1:23:59 PM5/10/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pylons-...@googlegroups.com
@view_config is only used at startup. After that everything is in the registry, then things perform exactly the same as if you were using config.add_view.
The venusian scan is the only thing would take any appreciable time to read all the files.