Re: [Speed] pathlib benchmark?
On Mon, Jul 23, 2012 at 3:47 PM, Alex Gaynor <alex.gaynor@gmail.com> wrote:
On Mon, Jul 23, 2012 at 12:10 PM, Antoine Pitrou <solipsis@pitrou.net> wrote:
Hello,
I have a small library named pathlib (*) and I think it may be a good candidate for a small benchmark since:
- it doesn't have any dependencies
- it doesn't need installing (the module is a single .py file)
- it supports Python 2.7 and Python 3.2+ in the same code base
I was thinking of a simple benchmark such as listing the entries of a given directory (prepared by the benchmark), or perhaps globbing for a specific file pattern.
What do you think?
(*) http://pathlib.readthedocs.org/en/latest/
Regards
Antoine.
-- Software development and contracting: http://pro.pitrou.net
Speed mailing list Speed@python.org http://mail.python.org/mailman/listinfo/speed
Sounds like a reasonable idea to me.
Same here, especially if it can include Unicode path stuff.
participants (1)
-
Brett Cannon