Permalink
Browse files

moved file out of unmanged log directory

  • Loading branch information...
1 parent 3fa7010 commit 80da7d3353958a2723c817d2545b683f021b1bfe @stuarthalloway committed Apr 4, 2008
Showing with 88 additions and 0 deletions.
  1. +88 −0 rails_samples/historical_logs/perf_cache.txt
@@ -0,0 +1,88 @@
+# codecite nocache
+Processing BaseballController#show_team_cached (for 127.0.0.1 at 2007-10-26 13:47:57) [GET]
+ Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%0ASGFzaHsABjoKQHVzZWR7AA%3D%3D--2f18f5b4601093f9163734981d5905979f0347b9
+ Parameters: {"action"=>"show_team_cached", "id"=>"1", "controller"=>"baseball"}
+ Team Columns (0.001908) SHOW FIELDS FROM teams
+ Team Load (0.000653) SELECT * FROM teams WHERE (teams.`id` = 1) 
+Rendering baseball/show_team_cached
+ Player Load (0.000659) SELECT players.* FROM players INNER JOIN contracts ON players.id = contracts.player_id WHERE ((contracts.team_id = 1)) 
+ Player Columns (0.001318) SHOW FIELDS FROM players
+Completed in 0.01918 (52 reqs/sec) | Rendering: 0.00911 (47%) | DB: 0.00454 (23%) | 200 OK [http://localhost/baseball/show_team_cached/1]
+
+
+Processing BaseballController#show_team_cached (for 127.0.0.1 at 2007-10-26 13:47:58) [GET]
+ Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%0ASGFzaHsABjoKQHVzZWR7AA%3D%3D--2f18f5b4601093f9163734981d5905979f0347b9
+ Parameters: {"action"=>"show_team_cached", "id"=>"1", "controller"=>"baseball"}
+ Team Columns (0.002220) SHOW FIELDS FROM teams
+ Team Load (0.000505) SELECT * FROM teams WHERE (teams.`id` = 1) 
+Rendering baseball/show_team_cached
+ Player Load (0.000703) SELECT players.* FROM players INNER JOIN contracts ON players.id = contracts.player_id WHERE ((contracts.team_id = 1)) 
+ Player Columns (0.002214) SHOW FIELDS FROM players
+Completed in 0.07678 (13 reqs/sec) | Rendering: 0.01308 (17%) | DB: 0.00564 (7%) | 200 OK [http://localhost/baseball/show_team_cached/1]
+
+
+Processing BaseballController#show_team_cached (for 127.0.0.1 at 2007-10-26 13:48:41) [GET]
+ Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%0ASGFzaHsABjoKQHVzZWR7AA%3D%3D--2f18f5b4601093f9163734981d5905979f0347b9
+ Parameters: {"action"=>"show_team_cached", "id"=>"1", "controller"=>"baseball"}
+ SQL (0.000170) SET NAMES 'utf8'
+ SQL (0.000087) SET SQL_AUTO_IS_NULL=0
+Fragment read: localhost:3000/baseball/show_team_cached/1 (0.00002)
+ Team Columns (0.002082) SHOW FIELDS FROM teams
+ Team Load (0.000499) SELECT * FROM teams WHERE (teams.`id` = 1) 
+Rendering baseball/show_team_cached
+Fragment read: localhost:3000/baseball/show_team_cached/1 (0.00002)
+ Player Load (0.000692) SELECT players.* FROM players INNER JOIN contracts ON players.id = contracts.player_id WHERE ((contracts.team_id = 1)) 
+ Player Columns (0.001642) SHOW FIELDS FROM players
+Cached fragment: localhost:3000/baseball/show_team_cached/1 (0.00002)
+Completed in 0.02443 (40 reqs/sec) | Rendering: 0.01267 (51%) | DB: 0.00517 (21%) | 200 OK [http://localhost/baseball/show_team_cached/1]
+# codecite nocache
+
+# codecite fragment
+Processing BaseballController#show_team_cached (for 127.0.0.1 at 2007-10-26 13:49:24) [GET]
+ Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%0ASGFzaHsABjoKQHVzZWR7AA%3D%3D--2f18f5b4601093f9163734981d5905979f0347b9
+ Parameters: {"action"=>"show_team_cached", "id"=>"1", "controller"=>"baseball"}
+ SQL (0.000100) SET NAMES 'utf8'
+ SQL (0.000084) SET SQL_AUTO_IS_NULL=0
+Fragment read: localhost:3000/baseball/show_team_cached/1 (0.00002)
+ Team Columns (0.002063) SHOW FIELDS FROM teams
+ Team Load (0.000558) SELECT * FROM teams WHERE (teams.`id` = 1) 
+Rendering baseball/show_team_cached
+Fragment read: localhost:3000/baseball/show_team_cached/1 (0.00002)
+ Player Load (0.000742) SELECT players.* FROM players INNER JOIN contracts ON players.id = contracts.player_id WHERE ((contracts.team_id = 1)) 
+ Player Columns (0.001458) SHOW FIELDS FROM players
+Cached fragment: localhost:3000/baseball/show_team_cached/1 (0.00002)
+Completed in 0.02462 (40 reqs/sec) | Rendering: 0.01339 (54%) | DB: 0.00500 (20%) | 200 OK [http://localhost/baseball/show_team_cached/1]
+
+
+Processing BaseballController#show_team_cached (for 127.0.0.1 at 2007-10-26 13:49:25) [GET]
+ Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%0ASGFzaHsABjoKQHVzZWR7AA%3D%3D--2f18f5b4601093f9163734981d5905979f0347b9
+ Parameters: {"action"=>"show_team_cached", "id"=>"1", "controller"=>"baseball"}
+Fragment read: localhost:3000/baseball/show_team_cached/1 (0.00002)
+Rendering baseball/show_team_cached
+Fragment read: localhost:3000/baseball/show_team_cached/1 (0.00002)
+Completed in 0.00235 (425 reqs/sec) | Rendering: 0.00077 (32%) | DB: 0.00000 (0%) | 200 OK [http://localhost/baseball/show_team_cached/1]
+
+
+Processing BaseballController#show_team_cached (for 127.0.0.1 at 2007-10-26 13:49:25) [GET]
+ Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%0ASGFzaHsABjoKQHVzZWR7AA%3D%3D--2f18f5b4601093f9163734981d5905979f0347b9
+ Parameters: {"action"=>"show_team_cached", "id"=>"1", "controller"=>"baseball"}
+Fragment read: localhost:3000/baseball/show_team_cached/1 (0.00007)
+Rendering baseball/show_team_cached
+Fragment read: localhost:3000/baseball/show_team_cached/1 (0.00002)
+Completed in 0.00263 (380 reqs/sec) | Rendering: 0.00074 (28%) | DB: 0.00000 (0%) | 200 OK [http://localhost/baseball/show_team_cached/1]
+# codecite fragment
+
+# codecite query cache
+Processing BaseballController#modify_team (for 127.0.0.1 at 2007-10-26 14:43:41) [GET]
+ Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%0ASGFzaHsABjoKQHVzZWR7AA%3D%3D--2f18f5b4601093f9163734981d5905979f0347b9
+ Parameters: {"action"=>"modify_team", "id"=>"1", "controller"=>"baseball"}
+ Team Columns (0.002146) SHOW FIELDS FROM teams
+ Team Load (0.000697) SELECT * FROM teams WHERE (teams.`id` = 1) 
+ CACHE (0.000000) SELECT * FROM teams WHERE (teams.`id` = 1) 
+ SQL (0.000119) BEGIN
+ Team Update (0.000275) UPDATE teams SET `created_at` = '2007-10-23 11:28:33', `city` = 'Boston', `updated_at` = '2007-10-26 14:43:41', `name` = 'New Name' WHERE `id` = 1
+ SQL (0.000337) COMMIT
+ Team Load (0.000262) SELECT * FROM teams WHERE (teams.`id` = 1) 
+Rendering baseball/modify_team
+Completed in 0.01346 (74 reqs/sec) | Rendering: 0.00101 (7%) | DB: 0.00384 (28%) | 200 OK [http://localhost/baseball/modify_team/1]
+# codecite query cache

0 comments on commit 80da7d3

Please sign in to comment.