On Oct 10, 1:41 pm, Simon Willison <si...@simonwillison.net> wrote: > Oops, yes you're right - I misread the numbers. A 2.5 second different > would correspond to around 350,000 log messages (assuming the rate of > 130,000/second from my microbenchmark) - I have no idea how many > statements the unit tests execute in total. Once I've written a bit > more code of course I could always find out using a logger...
I just hacked in a logger that increments a counter for every message - it indicates that there are 158,527 SQL statements executed by the test suite, which means we should expect to add slightly over a second to the time taken for the overall unit tests based on the microbenchmark. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---