hyphy 0.0.0 → 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/spec/dataset_spec.rb DELETED
@@ -1,32 +0,0 @@
1
- require 'spec_helper'
2
-
3
- describe Hyphy::Dataset do
4
-
5
- let!(:sql_statement1) { Hyphy::SQLStatement.create(:statement => "select * from table1",
6
- :start_time => 1.001,
7
- :end_time => 2.002) }
8
-
9
- let!(:sql_statement2) { Hyphy::SQLStatement.create(:statement => "select * from table2",
10
- :start_time => 1.001,
11
- :end_time => 3.002) }
12
-
13
- let(:dataset) { Hyphy::Dataset.new }
14
-
15
- describe "#get_data" do
16
-
17
- it "stores all sql statements in the data attribute" do
18
- dataset.data.should == [sql_statement1, sql_statement2]
19
- end
20
-
21
- end
22
-
23
- describe "#apply_filter" do
24
-
25
- it "filters the in memory dataset" do
26
- dataset.apply_filter(Hyphy::DurationFilter, :duration_min => 1.5)
27
- dataset.data.should == [sql_statement2]
28
- end
29
-
30
- end
31
-
32
- end
data/specification.txt DELETED
@@ -1,21 +0,0 @@
1
- Swaggie -- A Rails performance testing framework
2
-
3
- Requirements:
4
- - Samples all SQL calls
5
- - Logs length of time
6
- - Can classify "similar" SQL statements, and nest classifications
7
- - Provide good interface so analysis can be made
8
-
9
- Implementation:
10
- - Use SQLite3
11
- - Use sequel
12
-
13
- Todo:
14
- - Create reports
15
- - Save metadata from each filter
16
- - Create way to clear database
17
-
18
- Filters
19
- - Nation
20
- - Query time
21
- - Query base