@chunhui we just adjust different compiler options ,the generating code strategy does not affected by the compiler option. so I think the different result just reflects the compiler's performance.
On Wed, Aug 2, 2017 at 1:45 AM, Chunhui Shi <c...@mapr.com> wrote: > > Correct my previous response: > > In DRILL-4778, JDK was faster in compilation but generated slower code. > Janino was slower in compilation and generate faster code. Your JIRA did > not mention how was the performance when running generated code. You may > want to test this aspect as well. > > > From: weijie tong <tongweijie...@gmail.com> > Sent: Sunday, July 30, 2017 6:10:12 AM > To: dev@drill.apache.org > Subject: Which code compiler is better > > The compile process is long when we have 20 sum or avg expression and the > compiler is janino. But if we change the compiler to jdk,we gain lower > compile process time. It seems jdk compiler is better .If that's tue,why > not let jdk be the default one? >