All the test units pass and the apps I tried work correctly at first
sight, any review is well appreciated
You can take a look at
http://sourceforge.net/p/turbogears2/tg2/ci/448efd4368a7167f5a7f00ee3ef0bba96ac8e4ca/log/
Few issues have to be fixed and probably left around some parts that
are pylons related and now useless.
Also performances need to improve as things got a bit slower than the
pylons based version, but it is a really good starting point.
Also repoze.what-pylons package is not required anymore.
On Dec 10, 12:57 am, Alessandro Molina <alessandro.mol...@gmail.com>
wrote:
> >http://sourceforge.net/p/turbogears2/tg2/ci/448efd4368a7167f5a7f00ee3...
Nothing in particular, just rushing unoptimized code as fast as
possible to have things working.
I'll take a look at it in the next week removing the performance bottlenecks.
On Sat, Dec 10, 2011 at 1:31 AM, Alessandro Molina
<alessand...@gmail.com> wrote:
> On Sat, Dec 10, 2011 at 1:13 AM, Mengu <whal...@gmail.com> wrote:
>> what exactly has decreased the performance?
>>
>
Congratulations! This is really a big step forward.
Did you run some real-life TG apps with that branch? Unfortunately, our
test suite is not very comprehensive, so we should test this with some
of our apps and add more unit tests if we notice any problems. Hope I
can find some time over the holidays for giving this a try.
-- Christoph
Not really, I have a fake app I use to develop that practically ended
up being a test suite as it uses every single tgext that I wrote and
they seem to work.
But it doesn't test for example session, i18n and configuration.
Yes, I still don't know if it cares about the config options, the
config object was quite pervert (wrapper of a wrapper of a
DispatchingConfig used as a StackedProxy) and I'm afraid that I might
have broke something.
I'll be really glad to anyone that has a few hours to invest testing
the pylons-less branch on any applications that he has available.
Just keep in mind that it is based on TG2.1.4 so the application
itself has to be compatible with TG2.1.4
Even pylons based controllers should work, just check that
tg.pylons_compatible is True.
Disabling it makes the app go faster at the price of not being
compatible with Pylons related Controllers (XMLRPCController for
example)
My current target for the branch is to achieve 100% code coverage on
the TG module.
* i've created a virtualenv --no-site-packages
* git clone the pylonesless branch
* ran bin/python setup.py develop
* in my app i ran ../bin/paster setup.py develop and got an error for
tg.devtools so i went and downloaded and did a setup.py for it.
i've not noticed any performance increasements and it seems the
current branch seems faster but not that much. i did not have any
problems with my tg app. everything is working.
On Dec 12, 11:22 am, Alessandro Molina <alessandro.mol...@gmail.com>
wrote:
By default tg.pylons_compatible is True, so it should actually be
slower then before.
Please, try to set ['tg.pylons_compatible'] = False inside your
app_cfg and let me know if you see any performance boost.
It might break the app anyway if you use any request local object from
pylons namespace.
On Dec 12, 3:34 pm, Alessandro Molina <alessandro.mol...@gmail.com>
wrote:
Yes, that one. Set it to False.
On Dec 12, 4:24 pm, Alessandro Molina <alessandro.mol...@gmail.com>
wrote:
So you would see an huge boost only if you test it against a
controller method that doesn't access the DB and doesn't render a
template :D
> --
> You received this message because you are subscribed to the Google Groups "TurboGears Trunk" group.
> To post to this group, send email to turbogea...@googlegroups.com.
> To unsubscribe from this group, send email to turbogears-tru...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/turbogears-trunk?hl=en.
>
Yes, I still don't know if it cares about the config options, the
config object was quite pervert (wrapper of a wrapper of a
DispatchingConfig used as a StackedProxy) and I'm afraid that I might
have broke something.
I'll be really glad to anyone that has a few hours to invest testing
the pylons-less branch on any applications that he has available.
Just keep in mind that it is based on TG2.1.4 so the application
itself has to be compatible with TG2.1.4
Even pylons based controllers should work, just check that
tg.pylons_compatible is True.
Disabling it makes the app go faster at the price of not being
compatible with Pylons related Controllers (XMLRPCController for
example)
My current target for the branch is to achieve 100% code coverage on
the TG module.
Hi Mark,
It should already work that way as the pylons_compatible option
defaults to True, so if you don't have it "False" inside your app_cfg
you will get the system with pylons compatibility enabled. My idea was
to quickstart future applications with that option set to True inside
the app_cfg and let the old apps continue to work as they used to do.