Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Ticket 8949: metronome/django-stones
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jeremy Dunck  
View profile  
 More options Sep 9 2008, 7:24 pm
From: "Jeremy Dunck" <jdu...@gmail.com>
Date: Tue, 9 Sep 2008 18:24:38 -0500
Local: Tues, Sep 9 2008 7:24 pm
Subject: Ticket 8949: metronome/django-stones
OK, enough noise on the naming.

Let's talk about what it should be and what should be measured.  :)
(I suspect some devs already have a sketch regarding this stuff.
Please share.)

Do we want it to result in one big number like python/Lib/test/pystone.py?

Do we want to provide hooks for apps to supply something to stones for
site-specific stone testing?

Measuring:
 * loading
 * hello world request cycle
 * template parsing
 * template rendering
 * generic views(?)
 * various query mashing (repeated filters, combination, negation, count)
 * signaling
 * form validation
 * cache
 * model instantiation/save
 * various laziness
 * utils (encoding, datastructures

What else?

Also, what about things that affect downstream performance, but don't
affect our runtime, like the HTTP Vary header?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Simon Willison  
View profile  
 More options Sep 9 2008, 8:02 pm
From: Simon Willison <si...@simonwillison.net>
Date: Tue, 9 Sep 2008 17:02:02 -0700 (PDT)
Local: Tues, Sep 9 2008 8:02 pm
Subject: Re: Ticket 8949: metronome/django-stones
On Sep 10, 12:24 am, "Jeremy Dunck" <jdu...@gmail.com> wrote:

> OK, enough noise on the naming.

(I really like metronome)

> Let's talk about what it should be and what should be measured.  :)
> (I suspect some devs already have a sketch regarding this stuff.
> Please share.)

> Do we want it to result in one big number like python/Lib/test/pystone.py?

I don't know much about benchmarking, but it seems to me it would be
most useful if we got one big number and about a dozen other numbers,
one for each category of performance testing. That would make it
easier to see if changes we made had an effect on a particular
subsystem, and also ties in nicely to your next point:

> Do we want to provide hooks for apps to supply something to stones for
> site-specific stone testing?

That seems sensible. It's like unit testing - we'll need code that
finds and loads the benchmarks for Django core, so we may as well get
it to look in user applications as well.

As for what we measure, I think to start off with we just go with the
basics: startup, request cycle, template processing, signals and ORM.
If we get the wrapper mechanism right it will be easy to add further
stuff once we have those covered.

> Also, what about things that affect downstream performance, but don't
> affect our runtime, like the HTTP Vary header?

I say we ignore those entirely. Other tools like YSlow can pick up the
slack there.

Cheers,

Simon


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Justin Fagnani  
View profile  
 More options Sep 9 2008, 8:58 pm
From: "Justin Fagnani" <justin.fagn...@gmail.com>
Date: Tue, 9 Sep 2008 17:58:13 -0700
Local: Tues, Sep 9 2008 8:58 pm
Subject: Re: Ticket 8949: metronome/django-stones
I think one very important feature is submitting results back to
djangoproject.com for comparison. Since Django is so dependent on
underlying components it'll be very hard to compare results, but at
the very least we can track things like:

CPU type and speed
python version
memory (installed, free, python usage)
OS
loaded python modules

And it might be worthwhile to run something like pybench just to give
a baseline number for comparisons.

With that data it should be a lot easier to make sense of the results.

-Justin

(oh, Metronome is a great name. Meter or Tempo are also good on several levels.)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eduardo O. Padoan  
View profile  
 More options Sep 10 2008, 8:33 am
From: "Eduardo O. Padoan" <eduardo.pad...@gmail.com>
Date: Wed, 10 Sep 2008 09:33:09 -0300
Local: Wed, Sep 10 2008 8:33 am
Subject: Re: Ticket 8949: metronome/django-stones

It'll need benchmark to test the number of requests per second that we
can process, something that could be used to test other frameworks
too, so we can compare Django's performance to, e.g., Turbogear's.

> Also, what about things that affect downstream performance, but don't
> affect our runtime, like the HTTP Vary header?

--
 Eduardo de Oliveira Padoan

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jacob Kaplan-Moss  
View profile  
 More options Sep 10 2008, 10:41 am
From: "Jacob Kaplan-Moss" <jacob.kaplanm...@gmail.com>
Date: Wed, 10 Sep 2008 07:41:10 -0700
Local: Wed, Sep 10 2008 10:41 am
Subject: Re: Ticket 8949: metronome/django-stones
On Wed, Sep 10, 2008 at 5:33 AM, Eduardo O. Padoan

<eduardo.pad...@gmail.com> wrote:
> It'll need benchmark to test the number of requests per second that we
> can process, something that could be used to test other frameworks
> too, so we can compare Django's performance to, e.g., Turbogear's.

Actually, this is precisely what I *don't* want out of a Django
benchmark. It's nearly impossible to benchmark two totally different
stacks of software against each other, and unless you're *perfect* the
results are meaningless. On top of that, I don't particularly care how
well we compare against other frameworks -- we're both "fast enough"
-- but I care *highly* how Django trends over time.

Jacob


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »