Bug #851

Failure converting WP2 database

Added by jeebusroxors-gmail-com - 810 days ago. Updated 106 days ago.

Status :Closed Start :
Priority :Normal Due date :
Assigned to :neuro - % Done :

0%

Category :installer
Target version :5.1
Resolution :

fixed


Description

./wordpress2.rb --db wordpress
Creating Blog...
Converting 0 users...
Converting 9 categories..
Converting 13 entries..
../../config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:123:in @const_missing': uninitialized constant TestRequest (NameError)
from ../../config/../app/models/blog.rb:183:in @request'
from ../../config/../app/models/blog.rb:156:in @url_for'
from ../../config/../app/models/blog.rb:168:in @article_url'
from ../../config/../app/models/article.rb:26:in @location'
from ../../config/../app/models/article.rb:40:in @really_send_pings'
from ../../config/../app/models/content_state/just_published.rb:42:in @send_pings'
from ../../config/../app/models/article.rb:67:in @send_pings'
from ../../config/../app/models/web_notifier.rb:5:in @after_save'
... 19 levels...
from ./wordpress2.rb:23:in @execute_without_timestamps'
from ./wordpress2.rb:23:in @initialize'
from ./wordpress2.rb:291:in @new'
from ./wordpress2.rb:291

Associated revisions

Revision 1086
Added by scott 829 days ago

A bunch of performance fixes (and also a couple created_at/published_at fixes).

This drops our render time on my big DB from ~12 seconds to ~1 second. That's still
way too slow, but we're moving in the right direction. We're down to ~40 queries
for a 15-entry index page now, down from 300. And, half of the remaining queries
are basically Blog.find(1). I'm not sure why the eager loading on Articles isn't
helping with this.

This also closes #851--the archive sidebar was one of the big contenders, eating
6 or 7 seconds per query. It's down to a few ms now.

History

06/30/2008 05:33 PM - neuro -

  • Status changed from New to Closed
  • Assigned to changed from scott - to neuro -
  • Target version set to 5.1
  • Resolution set to fixed

The wordpress converter was changed in the 5.0.4b release

Also available in: Atom PDF