- added JavaDoc
- modified performance tests