speedup-rails 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ce62db6e0233cc1cba69d079049c26d6f85a130
|
4
|
+
data.tar.gz: d46d753645fb4d63c0c9970fcd442b72cc062acd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d2c420c0cde55957933f02e43a17bf466cf58696f7008f85cb321bd7affab0a28f62a4f887f1d604b1b226464c7d81a4aa2d791d072900099396e0e5b48647b
|
7
|
+
data.tar.gz: c4ddfc9abceaec3aff82789e6b14c3d5130d469e106965e41d4a825076cce6cc3b27f6173ac7e9b33080b32adafa99f4a40ed45cc65da28a9ea8656a7ce640ac
|
@@ -14,7 +14,7 @@ module SpeedupRails
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def rubyprof
|
17
|
-
send_file Rails.root.join('tmp', 'rubyprof', params[:id] + params[:prof_id]), :type => 'text/html', :disposition => 'inline'
|
17
|
+
send_file Rails.root.join('tmp', 'rubyprof', params[:id] + params[:prof_id].to_s + '.html'), :type => 'text/html', :disposition => 'inline'
|
18
18
|
end
|
19
19
|
|
20
20
|
end
|
@@ -48,7 +48,7 @@ module Speedup
|
|
48
48
|
|
49
49
|
# Print a flat profile to text
|
50
50
|
printer = printer_klass.new(result)
|
51
|
-
::File.open(@results_dir.join( Speedup.request.id + result_id.to_s ), 'wb') do |file|
|
51
|
+
::File.open(@results_dir.join( Speedup.request.id + result_id.to_s + '.html' ), 'wb') do |file|
|
52
52
|
printer.print(file)
|
53
53
|
end
|
54
54
|
end
|
data/lib/speedup/version.rb
CHANGED
@@ -28154,3 +28154,17 @@ Completed 200 OK in 30ms (Views: 29.7ms | ActiveRecord: 0.0ms)
|
|
28154
28154
|
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
28155
28155
|
[1m[36m (54.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150416113036')[0m
|
28156
28156
|
[1m[35m (55.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150323192719')
|
28157
|
+
[1m[36m (88.0ms)[0m [1mCREATE TABLE "perfdashboard_context_infos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "context_id" integer, "description" varchar, "duration" float, "time" datetime, "data" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
28158
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
28159
|
+
[1m[36m (101.2ms)[0m [1mCREATE INDEX "index_perfdashboard_context_infos_on_context_id" ON "perfdashboard_context_infos" ("context_id")[0m
|
28160
|
+
[1m[35m (100.0ms)[0m CREATE TABLE "perfdashboard_contexts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "context_uid" integer, "type" varchar, "name" varchar, "request_id" integer, "context_data_count" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
28161
|
+
[1m[36m (77.8ms)[0m [1mCREATE INDEX "index_perfdashboard_contexts_on_request_id" ON "perfdashboard_contexts" ("request_id")[0m
|
28162
|
+
[1m[35m (98.3ms)[0m CREATE TABLE "perfdashboard_requests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "request_uid" varchar, "time" datetime, "duration" float, "controller" varchar, "action" varchar, "path" varchar, "error" boolean DEFAULT 'f', "xhr" boolean DEFAULT 'f', "format" varchar DEFAULT 'html', "view_duration" float, "db_duration" float, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
28163
|
+
[1m[36m (77.8ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject" varchar, "content" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
28164
|
+
[1m[35m (77.8ms)[0m CREATE INDEX "index_posts_on_author_id" ON "posts" ("author_id")
|
28165
|
+
[1m[36m (100.1ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "password_digest" varchar, "firstname" varchar, "lastname" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
28166
|
+
[1m[35m (86.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
28167
|
+
[1m[36m (191.2ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
28168
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
28169
|
+
[1m[36m (85.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150416113036')[0m
|
28170
|
+
[1m[35m (66.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150323192719')
|
data/spec/dummy/log/test.log
CHANGED
@@ -3473,3 +3473,61 @@ Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)
|
|
3473
3473
|
[1m[35m (0.1ms)[0m rollback transaction
|
3474
3474
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3475
3475
|
[1m[35m (0.0ms)[0m rollback transaction
|
3476
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3477
|
+
[1m[36m (111.2ms)[0m [1mCREATE TABLE "perfdashboard_context_infos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "context_id" integer, "description" varchar, "duration" float, "time" datetime, "data" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
3478
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
3479
|
+
[1m[36m (100.5ms)[0m [1mCREATE INDEX "index_perfdashboard_context_infos_on_context_id" ON "perfdashboard_context_infos" ("context_id")[0m
|
3480
|
+
[1m[35m (88.7ms)[0m CREATE TABLE "perfdashboard_contexts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "context_uid" integer, "type" varchar, "name" varchar, "request_id" integer, "context_data_count" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
3481
|
+
[1m[36m (111.2ms)[0m [1mCREATE INDEX "index_perfdashboard_contexts_on_request_id" ON "perfdashboard_contexts" ("request_id")[0m
|
3482
|
+
[1m[35m (75.9ms)[0m CREATE TABLE "perfdashboard_requests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "request_uid" varchar, "time" datetime, "duration" float, "controller" varchar, "action" varchar, "path" varchar, "error" boolean DEFAULT 'f', "xhr" boolean DEFAULT 'f', "format" varchar DEFAULT 'html', "view_duration" float, "db_duration" float, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
3483
|
+
[1m[36m (77.7ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject" varchar, "content" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
3484
|
+
[1m[35m (77.8ms)[0m CREATE INDEX "index_posts_on_author_id" ON "posts" ("author_id")
|
3485
|
+
[1m[36m (100.0ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "password_digest" varchar, "firstname" varchar, "lastname" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
3486
|
+
[1m[35m (74.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
3487
|
+
[1m[36m (77.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
3488
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
3489
|
+
[1m[36m (77.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150416113036')[0m
|
3490
|
+
[1m[35m (55.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150323192719')
|
3491
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
3492
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3493
|
+
Processing by SpeedupRails::ResultsController#show as HTML
|
3494
|
+
Parameters: {"id"=>"2ad3ed9e-1562-4361-b2a0-07e581311bf5"}
|
3495
|
+
Rendered /home/ondra/Documents/fit/BP/speedup-rails/app/views/speedup_rails/results/show.html.erb (0.2ms)
|
3496
|
+
Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)
|
3497
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3498
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3499
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3500
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3501
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3502
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3503
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3504
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3505
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3506
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3507
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3508
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3509
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3510
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3511
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3512
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3513
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3514
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3515
|
+
[1m[35mQuery count (0.0ms)[0m SELECT COUNT(*) FROM query
|
3516
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3517
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3518
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3519
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3520
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3521
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3522
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3523
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3524
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3525
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3526
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3527
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3528
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3529
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3530
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3531
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3532
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3533
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: speedup-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ondřej Ezr
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -549,7 +549,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
549
549
|
version: '0'
|
550
550
|
requirements: []
|
551
551
|
rubyforge_project:
|
552
|
-
rubygems_version: 2.6.
|
552
|
+
rubygems_version: 2.6.6
|
553
553
|
signing_key:
|
554
554
|
specification_version: 4
|
555
555
|
summary: SpeedUpRails provide analyzing and motitoring tool for rails.
|
@@ -890,4 +890,3 @@ test_files:
|
|
890
890
|
- spec/dummy/app/assets/javascripts/application.js
|
891
891
|
- spec/dummy/app/assets/stylesheets/posts.css
|
892
892
|
- spec/dummy/app/assets/stylesheets/application.css
|
893
|
-
has_rdoc:
|