which is the most efficient way to draw saying 100 polylines?

I have a two dimension array [[Cartesian3, Cartesian3],[Cartesian3,Cartesian3,Cartesian3...] ... ];

Each array element represents a polyline coordinates.

Now I want to draw these polyline on Map.

Which is the most efficient way or there is no big difference?
Method 1:Iterate the array and create 1000 entities
Method 2:Iterate the array and create 1000 primitives
Method 3:Create a czml object in javascript and load it.

If these points are all defined initially and won’t be changing, I’d recommend putting them in a CZML file. That will be easier to maintain.

Thanks,

Gabby