@Setup(Level.Invocation)
    public void setupInvocation() {
        localBindings = new SimpleBindings();
        localBindings.put("g", g);
        localBindings.put("x", rand.nextInt());

        generatedGremlinNoBindings = generateScript(rand.nextInt(), false);
        generatedGremlinWithBindings = generateScript(null, true);
    }
@author Stephen Mallette (http://stephen.genoprime.com)
gremlin-tools/gremlin-benchmark/src/main/java/org/apache/tinkerpop/jsr223/GremlinGroovyScriptEngineBenchmark.java