From 709432274467c6c1ff09b8ec50feb6339781d372 Mon Sep 17 00:00:00 2001 From: dymik739 Date: Tue, 23 May 2023 09:34:05 +0300 Subject: [PATCH] lab3: add missing files, freeze the development --- labs/3/Benchmarker.java | 13 +++++++++++++ labs/3/renderSuite/Letter.java | 7 +++++++ 2 files changed, 20 insertions(+) create mode 100644 labs/3/Benchmarker.java create mode 100644 labs/3/renderSuite/Letter.java diff --git a/labs/3/Benchmarker.java b/labs/3/Benchmarker.java new file mode 100644 index 0000000..b03d50b --- /dev/null +++ b/labs/3/Benchmarker.java @@ -0,0 +1,13 @@ +import lab3lib.Finder; + +public class Benchmarker { + public static void main(String[] args) { + System.out.print("Timing object creation..."); + long startTime = System.nanoTime(); + Finder obj = new Finder(); + long endTime = System.nanoTime(); + + System.out.println(" Finished!"); + System.out.println("Operation took " + (endTime - startTime) + "ns"); + } +} diff --git a/labs/3/renderSuite/Letter.java b/labs/3/renderSuite/Letter.java new file mode 100644 index 0000000..9dc43b2 --- /dev/null +++ b/labs/3/renderSuite/Letter.java @@ -0,0 +1,7 @@ +import +public class Letter { + this. + public void main() { + + } +}