<div dir="ltr">Yes, agreed that startup time matters for scripting. I was talking to someone on the Google Cloud SDK (CLI) team recently, and they said startup time is a big deal for them ... it's especially problematic for shell tab completion helpers, because every time you press tab the shell has to load your Python program to do the completion. Even a couple dozen milliseconds is noticeable when you're typing quickly.<div><br></div><div>-Ben</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 19, 2017 at 3:15 PM, Larry Hastings <span dir="ltr"><<a href="mailto:larry@hastings.org" target="_blank">larry@hastings.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"><span class="">
<p><br>
</p>
<br>
<div class="m_4591608437543758681moz-cite-prefix">On 07/19/2017 05:59 AM, Victor Stinner
wrote:<br>
</div>
<blockquote type="cite">
<pre>Mercurial startup time is already 45.8x slower than Git whereas tested
Mercurial runs on Python 2.7.12. Now try to sell Python 3 to Mercurial
developers, with a startup time 2x - 3x slower...</pre>
</blockquote>
<br></span>
When Matt Mackall spoke at the Python Language Summit some years
back, I recall that he specifically complained about Python startup
time. He said Python 3 "didn't solve any problems for
[them]"--they'd already solved their Unicode hygiene problems--and
that Python's slow startup time was already a big problem for them.
Python 3 being <i>even slower</i> to start was absolutely one of
the reasons why they didn't want to upgrade.<br>
<br>
You might think "what's a few milliseconds matter". But if you run
hundreds of commands in a shell script it adds up. git's speed is
one of the few bright spots in its UX, and hg's comparative slowness
here is a palpable disadvantage.<span class=""><br>
<br>
<br>
<blockquote type="cite">
<pre>So please continue efforts for make Python startup even faster to beat
all other programming languages, and finally convince Mercurial to
upgrade ;-)</pre>
</blockquote>
<br></span>
I believe Mercurial is, finally, slowly porting to Python 3.<br>
<blockquote><a class="m_4591608437543758681moz-txt-link-freetext" href="https://www.mercurial-scm.org/wiki/Python3" target="_blank">https://www.mercurial-scm.org/<wbr>wiki/Python3</a><br>
</blockquote>
Nevertheless, I can't really be annoyed or upset at them moving
slowly to adopt Python 3, as Matt's objections were entirely
legitimate.<br>
<br>
<br>
Cheers,<br>
<br>
<br>
<i>/arry</i><br>
</div>
<br>______________________________<wbr>_________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/benhoyt%40gmail.com" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/options/python-dev/<wbr>benhoyt%40gmail.com</a><br>
<br></blockquote></div><br></div>