Skip to content
Snippets Groups Projects
Commit dc76d55e authored by samuelvasecka's avatar samuelvasecka
Browse files

fourth commit

parent f488b82a
2 merge requests!2Master,!1Master
......@@ -87,18 +87,4 @@ Number of Postgre SQL queries: 0
Number of PlSql queries: 0
Number of MySql queries: 36
New offset to use for query: 300
```
Batch size: 100
Github total request time: 5,2 min
```
Github requests time in ms: 312213(95,48%)
ANTLR parsing time in ms: 5346(1,63%)
Parsing tree string finding: 5180(1,58%)
Whole time: 326986
Number of all found queries: 36(from 100 files)
Number of TSql queries: 0
Number of Postgre SQL queries: 0
Number of PlSql queries: 0
Number of MySql queries: 36
New offset to use for query: 300
```
\ No newline at end of file
......@@ -36,8 +36,6 @@ public class GithubFinder {
"and (sample_contents.content like '%select%from%' or sample_contents.content like '%create table%') order by repo_name limit " + batchSize + " offset " + (offset + (step * originalBatchSize)) +";";
}
System.out.println("BigQuery: " + phpFilesQuery);
QueryJobConfiguration queryConfig =
QueryJobConfiguration.newBuilder(phpFilesQuery).build();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment