Skip to content

Instantly share code, notes, and snippets.

@sandsfish
Created July 27, 2010 14:44
Show Gist options
  • Save sandsfish/492321 to your computer and use it in GitHub Desktop.
Save sandsfish/492321 to your computer and use it in GitHub Desktop.
# Processing Required to fulfill one embed request (672ms) + rendering time
#
# User load should not be necessary when feed is embedded from a page that is not on the site.
#
# Caching: should perhaps be done at the CompositeFeed level (which only needs to be refreshed if the config has changed)
# Caching: should also be done at the feeds/show (JavaScript) point to quickly serve processed text versions, which will
# be updated at the Feed Refresh Interval.
Processing FeedsController#show to js (for -- at 2010-07-27 07:30:43) [GET]
Parameters: {"format"=>"js", "action"=>"show", "id"=>"41", "controller"=>"feeds"}
SQL (4.2ms) SET NAMES 'utf8'
SQL (4.8ms) SET SQL_AUTO_IS_NULL=0
User Columns (3.2ms) SHOW FIELDS FROM `users`
User Load (7.8ms) SELECT * FROM `users` WHERE (`users`.`id` = '1') LIMIT 1
CompositeFeed Columns (11.1ms) SHOW FIELDS FROM `composite_feeds`
CompositeFeed Load (9.9ms) SELECT * FROM `composite_feeds` WHERE (`composite_feeds`.`id` = 41)
CompositeFeedEntry Load (7.6ms) SELECT * FROM `composite_feed_entries` WHERE (`composite_feed_entries`.composite_feed_id = 41)
CompositeFeedEntry Columns (1.4ms) SHOW FIELDS FROM `composite_feed_entries`
Rendering feeds/show
Completed in 672ms (View: 122, DB: 50) | 200 OK [http://---.com/feeds/41?format=js]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment