()
| 210 | } |
| 211 | |
| 212 | @Test |
| 213 | public void testBench() throws Exception { |
| 214 | // On OSX, it's not trivial to increase the open file limit per process |
| 215 | Assume.assumeFalse(Os.isOSX()); |
| 216 | |
| 217 | switch (rnd.nextInt(3)) { |
| 218 | case 0: |
| 219 | LOG.info().$("executing vanilla bench").$(); |
| 220 | executeVanilla((engine, compiler, context) -> testBench0(engine, compiler, context, timestampType.getTypeName())); |
| 221 | break; |
| 222 | case 1: |
| 223 | LOG.info().$("executing contended bench").$(); |
| 224 | executeWithPool(0, O3Test::testBench0); |
| 225 | break; |
| 226 | case 2: |
| 227 | LOG.info().$("executing parallel bench").$(); |
| 228 | executeWithPool(4, O3Test::testBench0); |
| 229 | break; |
| 230 | default: |
| 231 | throw new UnsupportedOperationException(); |
| 232 | } |
| 233 | } |
| 234 | |
| 235 | @Test |
| 236 | public void testColumnTopLastAppend() throws Exception { |
nothing calls this directly
no test coverage detected