[prev in list] [next in list] [prev in thread] [next in thread] 

List:       webkit-dev
Subject:    Re: [webkit-dev] BigIntBench
From:       Caio Lima <ticaiolima () gmail ! com>
Date:       2018-10-09 22:50:54
Message-ID: CADW7+r3gSDReF_bySGBw_1f7JVVY-vESi6EZOgNHce6B4j+r=w () mail ! gmail ! com
[Download RAW message or body]

Hi Saam.
Em seg, 8 de out de 2018 Ã s 02:41, Saam Barati <sbarati@apple.com> escreveu:
> 
> Hi Caio,
> 
> > On Oct 6, 2018, at 7:30 AM, Caio Lima <ticaiolima@gmail.com> wrote:
> > 
> > Hi all.
> > 
> > I'm starting working to fix JIT support of BigInt in some operations
> > we already have upstream. In such case, I'm sending
> > (https://bugs.webkit.org/show_bug.cgi?id=186177) to support BigInt
> > speculation into ValueAdd node. As I want to know if BigInt
> > speculation represents some performance improvement, I'm also
> > proposing a new benchmark suite called BigIntBench. The idea right now
> > is to enable us to write microbenchmarks while working into JIT fixes.
> > The main reason behind that is due the practicality of enabling
> > "--useBigInt=true" flags for tests in this suite. The big plan is to
> > move all microbenchmarks to "JSTests/microbenchmarks" and then add
> > relevant tests to evaluate how fast JSC can manipulate BigInts. IIRC,
> > Robin Morisset mentioned about introducing some benchmarks to evaluate
> > BigInt implementation sometime ago.
> > 
> > What do you think about that? Does it make sense?
> I think it makes a lot of sense to start using benchmarks to drive performance \
> improvements in our BigInt implementation. 
> It's probably good to use both microbenchmarks and macro benchmarks to do this. I \
> definitely agree it's worth writing microbenchmarks to show that changes are good \
> for perf. But it's probably worth converting some preexisting benchmarks to use \
> BigInts and measure performance on that as well. Some ideas could be taking some of \
> the math-heavy benchmarks from JetStream/Kraken as a starting point.

This sounds a good idea. I'll also do that as soon as we have support
to all operations.

> - Saam
> 
> > 
> > Regards,
> > Caio.
> > _______________________________________________
> > webkit-dev mailing list
> > webkit-dev@lists.webkit.org
> > https://lists.webkit.org/mailman/listinfo/webkit-dev
> 
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic