Iterative Insertion: 7841910ns - 7ms
Iterative selection: 2677762ns - 2ms
Iterative merge: 708154ns - 0ms
This algorithm was made in Java , in the java console is printed several values, being:
- search algorithm name
- time in ns to run the algorithm
- this time in ns become ms.
Is there any way to transform this data into a json file (generate a file using java) for me to read using a javascript script? the idea was to open this .json file in javascript or vice versa and turn it into a table (I do not know how to interface in java, so I found it easier to do this (in generating the json file in a table in html)).