@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.

There is no additional overhead between the two.

Bert

> On May 10, 2016, at 10:47, Jonathan Vanasco <[email protected]> wrote:
> 
> 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?
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "pylons-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/pylons-discuss/4e492caf-4643-445c-8e5b-eaaed10cf862%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pylons-discuss/54C706F1-B3BD-4A95-BF43-B6AB7A0BB8BA%400x58.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to