public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/owasp-java-encoder/
Date: Sat,  3 Aug 2024 08:11:58 +0000 (UTC)	[thread overview]
Message-ID: <1722672715.73efed650da577848f5a9b33ff9703148986725a.fordfrog@gentoo> (raw)

commit:     73efed650da577848f5a9b33ff9703148986725a
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  3 08:11:42 2024 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sat Aug  3 08:11:55 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73efed65

dev-java/owasp-java-encoder: updated explanation for skipped tests

Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-java/owasp-java-encoder/owasp-java-encoder-1.3.0.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-java/owasp-java-encoder/owasp-java-encoder-1.3.0.ebuild b/dev-java/owasp-java-encoder/owasp-java-encoder-1.3.0.ebuild
index 1695e28464d2..84640fdb1e59 100644
--- a/dev-java/owasp-java-encoder/owasp-java-encoder-1.3.0.ebuild
+++ b/dev-java/owasp-java-encoder/owasp-java-encoder-1.3.0.ebuild
@@ -21,8 +21,12 @@ KEYWORDS="~amd64"
 DEPEND=">=virtual/jdk-1.8:*"
 RDEPEND=">=virtual/jre-1.8:*"
 
-# skipping 10 tests because kinda unpredictable as it expects that it cannot
-# surpass a predefined value, which in some case obviously doesn't work.
+# skipping 10 tests because they seem to be unreliable depending on hardware used
+# as some of them fail on some setups because the benchmark results don't align
+# with the hardcoded value 200 for the expected results. here are some examples:
+# Benchmarked Encode.forJavaScript: 442,382250 ns/op (+253,85% on baseline)
+# Benchmarked Encode.forCssString: 446,929231 ns/op (+257,49% on baseline)
+# Benchmarked Encode.forJava: 409,038065 ns/op (+227,18% on baseline)
 JAVA_RM_FILES=( src/test/java/org/owasp/encoder/BenchmarkTest.java )
 JAVA_SRC_DIR="src/main/java"
 JAVA_TEST_GENTOO_CLASSPATH="junit-4"


             reply	other threads:[~2024-08-03  8:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-03  8:11 Miroslav Šulc [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-02  9:04 [gentoo-commits] repo/gentoo:master commit in: dev-java/owasp-java-encoder/ Miroslav Šulc
2024-10-01 23:32 Sam James
2024-09-03  8:29 Miroslav Šulc
2024-09-03  8:29 Miroslav Šulc
2024-09-02 19:25 Sam James
2024-08-03  8:11 Miroslav Šulc
2023-11-23 16:08 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1722672715.73efed650da577848f5a9b33ff9703148986725a.fordfrog@gentoo \
    --to=fordfrog@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox