Skip to content

Commit 0c65d78

Browse files
committed
refactoring. add performance testing reports
1 parent 4c081e7 commit 0c65d78

File tree

8 files changed

+14
-3
lines changed

8 files changed

+14
-3
lines changed
485 KB
Loading
37.7 KB
Loading
144 KB
Loading

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@ hash tags: #hashcode #2017 #googleHashCode
77
##Pizza
88
Practice problem for the Google HashCode 2017.
99

10+
##Effectiveness's for v0.02
11+
Slicing of: example, small, medium slices took 10m 39 seconds on a MacBookPro
12+
Results:
13+
* example 6
14+
* small 30
15+
* medium 33037
16+
* big - too long to slicing. Was ran once
17+
from the commit and took about 20 hours.(a desktop PC with an Intel-I54670K)
18+
19+
1020
* original assignment - [Task.pdf](./documentation/TaskDescription.pdf)
1121
* [input data sets](./inputDataSets)
1222

outputDataSet/example.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
3
22
1 2 2 2
3-
1 3 1 4
43
1 0 1 1
4+
1 3 1 4

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>com.google.hashcode</groupId>
66
<artifactId>pizza</artifactId>
7-
<version>1.0-SNAPSHOT</version>
7+
<version>0.0.2</version>
88
<packaging>jar</packaging>
99

1010
<name>pizza</name>

src/main/java/com/google/hashcode/App.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ public static void main(String[] args) throws IOException {
2525
slicePizza(EXAMPLE_INPUT_FILE_PATH, OUTPUT_DATA_SET_EXAMPLE_TXT);
2626
slicePizza(SMALL_INPUT_FILE_PATH, OUTPUT_DATA_SET_SMALL_TXT);
2727
slicePizza(MEDIUM_INPUT_FILE_PATH, OUTPUT_DATA_SET_MEDIUM_TXT);
28+
//takes to much time ~ 20 hours using intel -I5
2829
//slicePizza(BIG_INPUT_FILE_PATH, OUTPUT_DATA_SET_BIG_TXT);
2930
}
3031

src/main/resources/logback.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<root level="debug">
3636
<appender-ref ref="STDOUT"/>
3737
<appender-ref ref="FILE-DEBUG"/>
38-
</root>
38+
</root>
3939

4040
<logger name="com.google.hashcode.App" level="debug"
4141
additivity="false">

0 commit comments

Comments
 (0)