Skip to content

Instantly share code, notes, and snippets.

Sascha Fischer moh-sushi

  • Germany
Block or report user

Report or block moh-sushi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@moh-sushi
moh-sushi / benchmark statistic - jodd #439.txt
Created Oct 12, 2017
benchmark for StringUtil#replace executed with changes of #439
View benchmark statistic - jodd #439.txt
Benchmark Mode Cnt Score Error Units
StringUtilReplaceBenchmark.testStringReplaceLongStringNoMatch thrpt 21 3934305,776 ± 257369,463 ops/s
StringUtilReplaceBenchmark.testStringReplaceLongStringOneMatch thrpt 21 964201,767 ± 29390,765 ops/s
StringUtilReplaceBenchmark.testStringReplaceLongStringSeveralMatches thrpt 21 742069,544 ± 23570,739 ops/s
StringUtilReplaceBenchmark.testStringReplaceShortStringNoMatch thrpt 21 5079240,512 ± 304600,596 ops/s
StringUtilReplaceBenchmark.testStringReplaceShortStringOneMatch thrpt 21 2663456,731 ± 101788,369 ops/s
StringUtilReplaceBenchmark.testStringReplaceShortStringSeveralMatches thrpt 21 1571368,685 ± 63015,210 ops/s
StringUtilReplaceBenchmark.testApacheStringUtilsReplaceLongStringNoMatch thrpt 21 14538981,034 ±
@moh-sushi
moh-sushi / benchmark statistic - jodd #438.txt
Created Oct 12, 2017
benchmark for StringUtil#replace executed
View benchmark statistic - jodd #438.txt
Benchmark Mode Cnt Score Error Units
StringUtilReplaceBenchmark.testStringReplaceLongStringNoMatch thrpt 21 4231943,648 ± 145968,344 ops/s
StringUtilReplaceBenchmark.testStringReplaceLongStringOneMatch thrpt 21 960589,769 ± 50446,866 ops/s
StringUtilReplaceBenchmark.testStringReplaceLongStringSeveralMatches thrpt 21 698042,028 ± 25114,039 ops/s
StringUtilReplaceBenchmark.testStringReplaceShortStringNoMatch thrpt 21 4939534,378 ± 232277,992 ops/s
StringUtilReplaceBenchmark.testStringReplaceShortStringOneMatch thrpt 21 2480426,528 ± 182234,963 ops/s
StringUtilReplaceBenchmark.testStringReplaceShortStringSeveralMatches thrpt 21 1572156,763 ± 51881,339 ops/s
StringUtilReplaceBenchmark.testApacheStringUtilsReplaceLongStringNoMatch thrpt 21 16974895,472 ± 4
@moh-sushi
moh-sushi / jodd-issue-437-code-snippt.java
Last active Oct 10, 2017
jodd issue #437 - code snippet for downloading a zip file with jodd-http
View jodd-issue-437-code-snippt.java
import jodd.http.HttpRequest;
import jodd.http.HttpResponse;
import jodd.http.ProxyInfo;
import jodd.http.net.SocketHttpConnectionProvider;
import jodd.io.FileUtil;
import org.junit.Assert;
import org.junit.Test;
import java.io.File;
import java.io.FileOutputStream;
You can’t perform that action at this time.