Package org.eclipse.jgit.benchmarks
Class CreateFileSnapshotBenchmark
- java.lang.Object
-
- org.eclipse.jgit.benchmarks.CreateFileSnapshotBenchmark
-
- Direct Known Subclasses:
CreateFileSnapshotBenchmark_jmhType_B1
public class CreateFileSnapshotBenchmark extends Object
-
-
Constructor Summary
Constructors Constructor Description CreateFileSnapshotBenchmark()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(String[] args)
void
setupBenchmark()
void
teardown()
Path
testCreateFile()
FileSnapshot
testCreateFileSnapshot()
-
-
-
Method Detail
-
setupBenchmark
public void setupBenchmark() throws IOException
- Throws:
IOException
-
teardown
public void teardown() throws IOException
- Throws:
IOException
-
testCreateFile
public Path testCreateFile() throws IOException
- Throws:
IOException
-
testCreateFileSnapshot
public FileSnapshot testCreateFileSnapshot()
-
main
public static void main(String[] args) throws org.openjdk.jmh.runner.RunnerException
- Throws:
org.openjdk.jmh.runner.RunnerException
-
-