My only real purpose is to set myself straight on how exactly HAML
works so I dont inadvertantly say things that aren't true. And to get
concrete numbers for how this relates to the python crowd.
My initial tests with haml *were* dog slow b/c I accounted for the
initial parse time. But in the same breath I didn't think much of it
b/c it faired only slightly worse then django templates (with the
templates pre-compiled sadly in retrospect).
Benchmarking haml with the templates precompiled and simply waiting on
the context was beyond my scope of knowledge when i initially tested
it. Currently with a test template taken from the website, on my
laptop, haml handles the render at about .000109 ms which I guess
would be the near instantaneousness you speak of.
Currently the same template processed by DAML on the fly with no
precompilation of any sort takes aproximately .000201 ms, and I still
have a lot I want to do for speed and features so I imagine once I am
done itll probably fall right back to that point for a while
Again its a bit of a tricky matter as I guess the only thing the
django crowd can do is inline django templates with basic haml. And if
a django user was interested in overall speed, and did not want to
give up the use of django templates, I'd want to be able to say either
or. "well a django/haml combo will probably win by roughly a [%]
margin right now over mixing django/daml until some more development
goes into daml" or "if your looking to replace django templates
completely with a single solution, daml can fit your needs" or w/e the
case exactly.
This kind of talk is probably far off. I have seen some interest in
different areas for daml, but theres still a lot I want to implement,
and along the way I'm doing testing like this (and asking questions
like this) to increase my knowledge of ruby/haml in general just to be
able to make general advisements.
Cause theres nothin like misinformation
> >
haml-dev+u...@googlegroups.com<haml-dev%2Bunsubscribe@googlegroups.c om>
> > .
> For more options, visit this group athttp://
groups.google.com/group/haml-dev?hl=en.