String indexOf Performance

dalibor topic dalibor.topic at oracle.com
Mon Jan 30 11:15:02 UTC 2017



On 27.01.2017 19:22, Scott Palmer wrote:

> I looped through those 100,000 times.  I should do a proper JMH benchmark,
> but for now here's a link to the code:
>
>   http://pastebin.com/dWcf7rQJ

As a meta point, in the future please send such benchmarks directly to 
the mailing list inline in your message, if possible, instead of putting 
them up on pastebin or a different third party hosting site.

There are two problems with the latter approach:

a) some Participants may not want to visit third party sites for their 
own reasons, such as

https://www.google.com/transparencyreport/safebrowsing/diagnostic/index.html#url=http://pastebin.com/

"Some pages on this website install malware on visitors' computers."

b) some Participants may not be able to visit third party sites due to 
extrinsic reasons, such as a particular site being blocked by their 
country, ISP, etc. - for example

https://duckduckgo.com/?q=%22pastebin+blocked+in%22&bext=wcr&atb=v33-7__&ia=web

cheers,
dalibor topic
-- 
<http://www.oracle.com> Dalibor Topic | Principal Product Manager
Phone: +494089091214 <tel:+494089091214> | Mobile: +491737185961
<tel:+491737185961>

ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg

ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher

<http://www.oracle.com/commitment> Oracle is committed to developing
practices and products that help protect the environment


More information about the jdk9-dev mailing list