<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/sortperf.py, branch v3.3.2</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/sortperf.py?h=v3.3.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/sortperf.py?h=v3.3.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2012-04-29T01:01:20Z</updated>
<entry>
<title>Issue #14428: Use the new time.perf_counter() and time.process_time() functions</title>
<updated>2012-04-29T01:01:20Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2012-04-29T01:01:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fe98e2fc8391607fc1cae235a49bbafc65a822f0'/>
<id>urn:sha1:fe98e2fc8391607fc1cae235a49bbafc65a822f0</id>
<content type='text'>
 * Replace "time.clock on windows, or time.time" with time.perf_counter()
 * profile module: only use time.process_time() instead of trying different
   functions providing the process time
 * timeit module: use time.perf_counter() by default, time.time() and
   time.clock() can still be used using --time and --clock options
 * pybench program: use time.perf_counter() by default, add support for
   the new time.process_time() and time.perf_counter() functions, but stay
   backward compatible. Use also time.get_clock_info() to display information
   of the timer.
</content>
</entry>
<entry>
<title>#8230: make Lib/test/sortperf.py run on Python 3.</title>
<updated>2010-08-01T08:07:49Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2010-08-01T08:07:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f325e03f4859c5414c054ad56a1a5f10bb1c3c4f'/>
<id>urn:sha1:f325e03f4859c5414c054ad56a1a5f10bb1c3c4f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merged revisions 55007-55179 via svnmerge from</title>
<updated>2007-05-07T22:24:25Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2007-05-07T22:24:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=805365ee39298f93e433e19ae0dd87c6f782145b'/>
<id>urn:sha1:805365ee39298f93e433e19ae0dd87c6f782145b</id>
<content type='text'>
svn+ssh://pythondev@svn.python.org/python/branches/p3yk

........
  r55077 | guido.van.rossum | 2007-05-02 11:54:37 -0700 (Wed, 02 May 2007) | 2 lines

  Use the new print syntax, at least.
........
  r55142 | fred.drake | 2007-05-04 21:27:30 -0700 (Fri, 04 May 2007) | 1 line

  remove old cruftiness
........
  r55143 | fred.drake | 2007-05-04 21:52:16 -0700 (Fri, 04 May 2007) | 1 line

  make this work with the new Python
........
  r55162 | neal.norwitz | 2007-05-06 22:29:18 -0700 (Sun, 06 May 2007) | 1 line

  Get asdl code gen working with Python 2.3.  Should continue to work with 3.0
........
  r55164 | neal.norwitz | 2007-05-07 00:00:38 -0700 (Mon, 07 May 2007) | 1 line

  Verify checkins to p3yk (sic) branch go to 3000 list.
........
  r55166 | neal.norwitz | 2007-05-07 00:12:35 -0700 (Mon, 07 May 2007) | 1 line

  Fix this test so it runs again by importing warnings_test properly.
........
  r55167 | neal.norwitz | 2007-05-07 01:03:22 -0700 (Mon, 07 May 2007) | 8 lines

  So long xrange.  range() now supports values that are outside
  -sys.maxint to sys.maxint.  floats raise a TypeError.

  This has been sitting for a long time.  It probably has some problems and
  needs cleanup.  Objects/rangeobject.c now uses 4-space indents since
  it is almost completely new.
........
  r55171 | guido.van.rossum | 2007-05-07 10:21:26 -0700 (Mon, 07 May 2007) | 4 lines

  Fix two tests that were previously depending on significant spaces
  at the end of a line (and before that on Python 2.x print behavior
  that has no exact equivalent in 3.0).
........
</content>
</entry>
<entry>
<title>Fix most trivially-findable print statements.</title>
<updated>2007-02-09T05:37:30Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2007-02-09T05:37:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=be19ed77ddb047e02fe94d142181062af6d99dcc'/>
<id>urn:sha1:be19ed77ddb047e02fe94d142181062af6d99dcc</id>
<content type='text'>
There's one major and one minor category still unfixed:
doctests are the major category (and I hope to be able to augment the
refactoring tool to refactor bona fide doctests soon);
other code generating print statements in strings is the minor category.

(Oh, and I don't know if the compiler package works.)
</content>
</entry>
<entry>
<title>SF patch 1631942 by Collin Winter:</title>
<updated>2007-01-10T16:19:56Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2007-01-10T16:19:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b940e113bf90ff71b0ef57414ea2beea9d2a4bc0'/>
<id>urn:sha1:b940e113bf90ff71b0ef57414ea2beea9d2a4bc0</id>
<content type='text'>
(a) "except E, V" -&gt; "except E as V"
(b) V is now limited to a simple name (local variable)
(c) V is now deleted at the end of the except block
</content>
</entry>
<entry>
<title>New test %sort.  This takes a sorted list, picks 1% of the list positions</title>
<updated>2002-08-02T05:46:09Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2002-08-02T05:46:09Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d5f4359458877fd2e36d82f71e2c2f86ad50b251'/>
<id>urn:sha1:d5f4359458877fd2e36d82f71e2c2f86ad50b251</id>
<content type='text'>
at random, and replaces the elements at those positions with new random
values.  I was pleasantly surprised by how fast this goes!  It's hard to
conceive of an algorithm that could special-case for this effectively.
Plus it's exactly what happens if a burst of gamma rays corrupts your
sorted database on disk &lt;wink&gt;.

 i    2**i  *sort  ...  %sort
15   32768   0.18  ...   0.03
16   65536   0.24  ...   0.04
17  131072   0.53  ...   0.08
18  262144   1.17  ...   0.16
19  524288   2.56  ...   0.35
20 1048576   5.54  ...   0.77
</content>
</entry>
<entry>
<title>New test "+sort", tacking 10 random floats on to the end of a sorted</title>
<updated>2002-07-21T17:37:03Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2002-07-21T17:37:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7ea39b135a4dac795836292a898dcd672b5dd623'/>
<id>urn:sha1:7ea39b135a4dac795836292a898dcd672b5dd623</id>
<content type='text'>
array.  Our samplesort special-cases the snot out of this, running about
12x faster than *sort.  The experimental mergesort runs it about 8x
faster than *sort without special-casing, but should really do better
than that (when merging runs of different lengths, right now it only
does something clever about finding where the second run begins in
the first and where the first run ends in the second, and that's more
of a temp-memory optimization).
</content>
</entry>
<entry>
<title>Added new test "3sort".  This is sorted data but with 3 random exchanges.</title>
<updated>2002-07-20T04:21:51Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2002-07-20T04:21:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0a30e648e06be85b3380a62ae156a9c7f343392f'/>
<id>urn:sha1:0a30e648e06be85b3380a62ae156a9c7f343392f</id>
<content type='text'>
It's a little better than average for our sort.
</content>
</entry>
<entry>
<title>Gave this a facelift:  "/" vs "//", whrandom vs random, etc.  Boosted</title>
<updated>2002-07-18T15:53:32Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2002-07-18T15:53:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8b6ec79b74284873696b24ab979fb1cb579b86f8'/>
<id>urn:sha1:8b6ec79b74284873696b24ab979fb1cb579b86f8</id>
<content type='text'>
the default range to end at 2**20 (machines are much faster now).
Fixed what was quite a arguably a bug, explaining an old mystery:  the
"!sort" case here contructs what *was* a quadratic-time disaster for
the old quicksort implementation.  But under the current samplesort, it
always ran much faster than *sort (the random case).  This never made
sense.  Turns out it was because !sort was sorting an integer array,
while all the other cases sort floats; and comparing ints goes much
quicker than comparing floats in Python.  After changing !sort to chew
on floats instead, it's now slower than the random sort case, which
makes more sense (but is just a few percent slower; samplesort is
massively less sensitive to "bad patterns" than quicksort).
</content>
</entry>
<entry>
<title>Use random instead of whrandom</title>
<updated>2002-04-10T14:54:39Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2002-04-10T14:54:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a9745611def1d7811210d45626f4b5d91d0b927c'/>
<id>urn:sha1:a9745611def1d7811210d45626f4b5d91d0b927c</id>
<content type='text'>
</content>
</entry>
</feed>
