316 Commits

Author SHA1 Message Date
Bruce Eckel
a45ba31a98 Moved Junit dependency into "subprojects" 2016-08-16 14:23:39 -06:00
Bruce Eckel
a454e23de4 Started Guava Preconditions, new JUnit features 2016-08-15 17:10:52 -06:00
Bruce Eckel
363abe4586 Added description line 2016-08-12 13:37:34 -06:00
Bruce Eckel
84b2e63100 Test ParallelSetAll.java on single-cpu machine 2016-08-11 11:19:48 -06:00
Bruce Eckel
6b1dcd12bc Moved Benchmarking intro to "Verifying" 2016-08-10 15:59:47 -06:00
Bruce Eckel
b0b9fa3499 Added jmh support in "Verifying Your Code" 2016-08-10 15:38:02 -06:00
Bruce Eckel
e0e7ced3d7 Temporarily adding "test" directory 2016-08-10 13:10:16 -06:00
Bruce Eckel
79279957dc Combined all subproject build.gradles into master 2016-08-10 10:36:16 -06:00
Bruce Eckel
abf72d0710 Logging section not failing
log4j2.xml is still not being seen, though
2016-08-09 17:51:55 -06:00
Bruce Eckel
a2cb2486f5 log4j added to dependencies 2016-08-09 16:15:05 -06:00
Bruce Eckel
003be8a597 Added "Verifying Your Code" Chapter
Incorporated/Removed associated appendices
2016-08-09 13:34:35 -06:00
Bruce Eckel
de9342c930 JMH version now defined in only one place 2016-08-09 11:49:57 -06:00
Bruce Eckel
1feee27c31 Bump JMH version to most current 2016-08-09 11:42:12 -06:00
Bruce Eckel
a17f939fd9 Added the rest of the performance tests
Will probably need tweaking.
2016-08-09 10:21:47 -06:00
Bruce Eckel
0346fc747b Also run :understandingcollections:jmh 2016-08-09 09:57:23 -06:00
Bruce Eckel
9db018422d Also run :understandingcollections:jmh 2016-08-09 09:19:45 -06:00
Bruce Eckel
dd72625ffa Experimentally commented out 2nd "repositories" section 2016-08-07 17:42:08 -06:00
Bruce Eckel
d9e652be5b Refactoring Maps.java benchmark 2016-08-06 11:30:08 -06:00
Bruce Eckel
71a6aa7e71 Initial Reasonable JMH example working 2016-08-05 16:07:30 -06:00
James Ward
b72a223d07 Merge branch 'jmh' 2016-08-05 14:40:22 -06:00
James Ward
f66316bc24 add repos 2016-08-05 14:39:40 -06:00
Bruce Eckel
fb2eb28e61 Merge pull request #17 from BruceEckel/jmh
set jmh dep and srcdir
2016-08-05 14:16:27 -06:00
James Ward
e1da0ed798 set jmh dep and srcdir 2016-08-05 13:55:39 -06:00
Bruce Eckel
7b93ad90aa Non-working MapPerformanceJMH.java
To try to figure out how to get it to work.
2016-08-05 12:41:54 -06:00
Bruce Eckel
8c04f570ad Merge pull request #16 from BruceEckel/jmh-plugin
add jmh plugin
2016-08-03 13:25:43 -06:00
James Ward
dba7cc874e add jmh plugin 2016-08-03 13:24:58 -06:00
Bruce Eckel
1e306a6736 Update to release candidate 1 of Gradle 3.0 2016-08-03 06:06:59 -06:00
Bruce Eckel
40a29c5e1c Update README.md 2016-08-02 15:53:45 -06:00
Bruce Eckel
1a6938773d Update README.md 2016-08-02 15:52:30 -06:00
Bruce Eckel
6a9bef0598 Create README.md 2016-08-02 15:46:42 -06:00
Bruce Eckel
6ba51b055c Change chapter title 2016-08-02 11:52:46 -06:00
Bruce Eckel
61d9e21317 Updated as per Justin's explanation 2016-08-02 11:00:06 -06:00
Bruce Eckel
6e1cf33f94 Fix verify as per James 2016-08-02 09:12:22 -06:00
Bruce Eckel
e971340315 Merge pull request #15 from quidryan/strip-windows-newline
Remove ^M from fileroot
2016-08-02 08:06:49 -06:00
Justin Ryan
3f0d825723 Remove ^M from fileroot 2016-08-01 23:05:22 -07:00
Bruce Eckel
e09d39fd25 Merge pull request #14 from quidryan/fix-output-line
Use a regex to capture the whole Output line
2016-08-01 10:20:47 -06:00
Justin Ryan
e14f9174fe Use a regex to capture the whole Output line 2016-07-31 18:12:24 -07:00
Bruce Eckel
a088f42e47 Merge pull request #13 from quidryan/javap
Javap
2016-07-31 14:40:27 -06:00
Justin Ryan
bfb9929fbd Fix reference to file, instead of it. 2016-07-31 10:21:28 -07:00
Justin Ryan
91fd557a7b Merge remote-tracking branch 'bruce/master' into javap
# Conflicts:
#	build.gradle
2016-07-31 02:37:19 -07:00
Justin Ryan
322f396fb2 Using block instead of individual lines
Fix extract to identify more exactly on marker (i.e. not matching javap when looking for java)
Generalize JavaExec task, so logic can be shared between java and javap tasks
Added tools.jar to classpath
Avoid using reserved variable name tasks.
2016-07-31 02:25:33 -07:00
Bruce Eckel
9961c7b71b Updated to version 3 snapshot
v 2.14.1 was acting flaky under windows, forcing me to reboot
frequently.
2016-07-30 14:24:12 -06:00
Bruce Eckel
ce7b993052 TEMPORARILY IGNORE JAVAP FILES 2016-07-30 10:05:07 -06:00
Bruce Eckel
bc32de7c53 fixed wrong comment symbol 2016-07-28 16:55:57 -06:00
Bruce Eckel
0c45f7e1eb Changed exec to javap 2016-07-28 16:47:35 -06:00
Bruce Eckel
dc3172ce90 More switching to {java command line} 2016-07-28 13:42:03 -06:00
Bruce Eckel
72c57ddee3 Changing to {java tag 2016-07-28 12:48:23 -06:00
Bruce Eckel
72a37051d3 Towards the unified {java command 2016-07-27 17:31:28 -06:00
Bruce Eckel
e84910951c Updated output, added verify_output.py 2016-07-27 11:12:11 -06:00
Bruce Eckel
45133a4945 switch to verify_output.py 2016-07-26 10:28:19 -06:00