9.1 Proposal: Top five performance problems

david at lang.hm david at lang.hm
Fri Oct 24 13:06:43 EDT 2008


On Fri, 24 Oct 2008, Michael Stone wrote:

> Marco,
>
> I did some basic profiling of my new rainbow code last night and
> discovered that, in the best case with the current codebase on XO, it
> costs about 0.5s/"1 exec(python)". Approximately 80% of the 0.5s was
> spent importing modules.

a silly thought, on C++ systems I've seen programs have high overhead in 
starting when they used too many shared libraries, and greatly reducing 
the penalty by combining many libraries into one. does python have the 
same situation? would it make any sense at all to combine the common, 
required libraries togeather into one?

David Lang

> I hope to dig deeper in the near future, but I am concerned at my lack
> of inspiration about how to deal with this problem. (Other than by
> rewriting into a different language.) I still do not consider the
> mod_python approach used in the 767-era rainbow to be a viable long-term
> solution.
>
> Michael
>
> P.S. - Your talk outline looks great!
> _______________________________________________
> Devel mailing list
> Devel at lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>



More information about the Devel mailing list