 print("JSONEncoder (Dict) took \(timeNanos / Double(iterations)) ns")
 
 timeNanos = benchmark {
-  jsonSerialization()
+  jsonSerialization_Dict()
 }
-print("JSONSerialization took \(timeNanos / Double(iterations)) ns")
+print("JSONSerialization (Dict) took \(timeNanos / Double(iterations)) ns")
+
+timeNanos = benchmark {
+  jsonSerialization_Array()
+}
+print("JSONSerialization (Array) took \(timeNanos / Double(iterations)) ns")
+

#else
import Glibc
#endif

let encoder = JSONEncoder()


  do {
    for i in 1...iterations {
      let result = try encoder.encode(myDict)
      if DEBUG && i == 1 { 
        print("Result (JSONEncoder Dict): \(String(data: result, encoding: .utf8) ?? "nil")")
      }
    }
