Package org.terasology.benchmark

Examples of org.terasology.benchmark.PrintToConsoleCallback


//        benchmarks.add(new BenchmarkTeraArrayWrite(new TeraDenseArray8Bit(16, 256, 16)));
//        benchmarks.add(new BenchmarkTeraArrayWrite(new TeraDenseArray4Bit(16, 256, 16)));
//        benchmarks.add(new BenchmarkTeraArrayWrite(new TeraSparseArray8Bit(16, 256, 16, INFLATED_8_BIT, DEFLATED_8_BIT)));
//        benchmarks.add(new BenchmarkTeraArrayWrite(new TeraSparseArray4Bit(16, 256, 16, INFLATED_4_BIT, DEFLATED_4_BIT)));

        Benchmarks.execute(benchmarks, new PrintToConsoleCallback());

    }
View Full Code Here


        final List<Benchmark> benchmarks = Lists.newArrayList();

        benchmarks.add(new EntityCreateBenchmark());
        benchmarks.add(new IterateSingleComponentBenchmark());
        benchmarks.add(new IterateMultipleComponentBenchmark());
        Benchmarks.execute(benchmarks, new PrintToConsoleCallback());

    }
View Full Code Here

        benchmarks.add(new GetterSetterAccessBenchmark(new ReflectionReflectFactory()));
        benchmarks.add(new GetterSetterAccessBenchmark(new ByteCodeReflectFactory()));
        benchmarks.add(new ConstructionBenchmark(new ReflectionReflectFactory()));
        benchmarks.add(new ConstructionBenchmark(new ByteCodeReflectFactory()));

        Benchmarks.execute(benchmarks, new PrintToConsoleCallback());

    }
View Full Code Here

TOP

Related Classes of org.terasology.benchmark.PrintToConsoleCallback

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.