8
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:
- name of the search algorithm
- time in ns to run the algorithm
- that time in ns transformed into ms.
Is there any way to turn 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 file. json in javascript or vice versa and turns it into a table (I don’t know how to interface in java, so I found it easier to do this (in generating the json file in an html table)).