private void assertEqualish(double a,double b) {
        if (Math.abs(a-b) >= Math.abs((a+b)/100000000) )
            throw new RuntimeException("Expected value " + a + " but optimized evaluation produced " + b);
    }
Two small benchmarks of ranking expression evaluation

@author bratseth
searchlib/src/test/java/com/yahoo/searchlib/rankingexpression/evaluation/EvaluationBenchmark.java