- (select
- b1.mark as mark, SUM(b1.time) as time,
- SUM(b1.timeuser) as timeuser,COUNT(DISTINCT b1.test) as tests
- from bench as b1
- where
- b1.options = 'gc-on' and
- b1.compilation = 'byte'
- group by b1.mark) as bench_times,
- (select
- b1.mark as mark,
- SUM(if(b1.result='fail' and b1.compilation='byte' and b1.options='gc-on',1,0))
- as count
- from bench as b1
- group by b1.mark) as bench_fails,