johnzon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hendrik Saly (JIRA)" <>
Subject [jira] [Commented] (FLEECE-8) Proposal for various fixes and enhancements
Date Mon, 14 Jul 2014 14:58:06 GMT


Hendrik Saly commented on FLEECE-8:

first tests show that adding

//fast fail
       if(!hasNext()) {
            throw new NoSuchElementException();

to was not a useful idea. Its not really adding value and causes
perf loss.

I attach a performance benchmark suite so that we can produce reliable and compareable tests

> Proposal for various fixes and enhancements
> -------------------------------------------
>                 Key: FLEECE-8
>                 URL:
>             Project: Fleece
>          Issue Type: Bug
>            Reporter: Hendrik Saly
>         Attachments: 0001-fixed-parser-creation-in-factories.patch, 0002-fixed-unittests-for-non-utf8-envs-and-added-some-mor.patch,
0003-added-some-more-tests.patch, 0004-removed-duplicate-benchmark-files-and-renamed-non-js.patch,
0005-optimize-parser-for-speeup-parsing-numbers-and-make-.patch, 0006-parser-now-fail-fast-if-no-next-event-left-some-addi.patch,
0009-make-rat-plugin-work-again.patch, 0010-fixed-escaping-problems-when-writing-string-in-array.patch,
0011-add-test-for-FLEECE-7.patch, 0012-make-it-work-with-java-1.6.patch, 0013-new-tests-and-fixes-for-SortedSet-SortedMap-and-Queu.patch,
0014-specifying-bounds-explicitly-to-make-it-run-with-ope.patch, 0015-testing-travis-and-java8.patch,
0016-testing-travis-and-java8-again.patch, 0017-removed-unneccesary-code.patch, 0018-fixed-typo-in-license-header.patch,
0019-speedup-number-conversion-if-its-an-integral-number-.patch, 0020-escapedStringAwareParser-test-added.patch
> Proposal for various fixes and enhancements
> fixed parser creation in factories
> fixed unittests for non-utf8 envs and added some more tests
> added some more tests
> removed duplicate benchmark files and renamed non json files to .txt
> optimize parser for speedup parsing numbers and make getInt() and
> getLong() compliant with API.
> parser now fail fast if no next event left, some additional testcases added
> include some additional useful stuff in pom, but nevertheless i cant
> get findbugs report to work
> add .travis.yml so that we can use for CI (so far)
> make rat plugin work again ...
> fixed escaping problems when writing string in array
> add test for FLEECE-7
> make it work with java 1.6
> new tests and fixes for SortedSet, SortedMap and Queue. Make it run with Java 1.6
> specifying bounds explicitly to make it run with openjdk6 which seems to have problems
with generic. The code before this commit already compiling fine with oracle 7 and openjdk
> Overview:
> After this series of commits the code is also now running on openjdk 1.6,
> see

This message was sent by Atlassian JIRA

View raw message