Performance of Cesium.CylinderGraphics, need help

Hello,

For the last few months I have been working on a satellite simulation using CesiumJS. Part of this simulation is displaying approx. 100 nadir pointing sensors. I implemented the sensors using the Cesium.CylinderGraphics class.

I am getting rather poor performance: around 7 to 4 FPS. I have a Sandcastle demo that just creates 100 entities with CylinderGraphics and it gets around 9 to 10 FPS in my laptop. In my simulation, with all the other entities created (around 500 more), I am getting around 4 FPS and the entire display moves with a stuttering motion.

The simulation is implemented entirely using the Entity API. I am using CesiumJS 1.72. A VM running CentOS 7 is used for the NodeJS server but the browser is MS Edge (Version 85.0.564.70 64 bit) running in the host system, a Windows 10 Enterprise Release 1909. The hardware is an Alienware M15 laptop w. a Pentium 7 and 16 GB of RAM.

I have tried configuring Edge to use the laptop’s Nvidia GPU with no luck. It insists on using the Intel GPU but checking with Task Manager, the browser does not seem to be graphics nor network bound.

So my questions are:

  1. Why do CylinderGraphics have such high CPU usage?

  2. Would switching to the Primitive API help (for the display of cylinders)?

I tried adding my original Sandcastle code below but could not as it was too big nor could I upload it with this email. I shrank the position data array, hopefully it will work.

VR
Jose Rodriguez
jmr@ieee.org

var viewer = new Cesium.Viewer(“cesiumContainer”);
viewer.scene.debugShowFramesPerSecond = true;

var positionList = [
[0.0,12.621462230084774,22.10870892616193,1002031.8038772424],
[60.0,16.00842247770609,22.49096680849984,1002123.4392663245],
[120.0,19.392582146574693,22.8949351580226,1002330.3879418367],
[180.0,22.773179942960343,23.32652640648952,1002645.1367955622],
[240.0,26.14939570229212,23.79254710636731,1003058.7165741824],
[300.0,29.520327339509425,24.300987930867144,1003560.8512891621],
[360.0,32.8849590866711,24.861404146097208,1004140.1260990797],
[420.0,36.242117308476,25.48542571107093,1004784.1708525133],
[480.0,39.59040835107854,26.18745523767492,1005479.856274576],
[540.0,42.928129920424134,26.98564230755575,1006213.4996392818],
[600.0,46.25314260787578,27.903271594513402,1006971.0766916947],
[660.0,49.56267993408884,28.970783086883106,1007738.4365652893],
[720.0,52.85306094974931,30.228779129149505,1008501.5164781787],
[780.0,56.119243763499085,31.732608059595567,1009246.5530797846],
[840.0,59.354110908329844,33.55952637593132,1009960.2874526563],
[900.0,62.54728681386842,35.82017027290354,1010630.1609439858],
[960.0,65.68310923153295,38.677338605961864,1011244.4992030048],
[1020.0,68.73701788899065,42.3771423022491,1011792.6820250772],
[1080.0,71.66890801632601,47.29996528260522,1012265.2968472182],
[1140.0,74.41069456742889,54.03644072742779,1012654.2739955747],
[1200.0,76.84388723567946,63.46048684266483,1012953.0020499387],
[1260.0,78.76696100827101,76.61311565752955,1013156.4219595825],
[1320.0,79.88528551933467,93.84347023084325,1013261.0988160376],
[1380.0,79.92747986132527,113.1389774923114,1013265.2704600865],
[1440.0,78.88129669974201,130.62816866761807,1013168.8723720334],
[1500.0,77.00680292325187,144.08935766725318,1012973.5385648945],
[1560.0,74.60322739942995,153.7542658520128,1012682.5784705514],
[1620.0,71.87940979443049,160.65601962019684,1012300.9300793397],
[1680.0,68.95880307751997,165.68967379292326,1011835.0898640899],
[1740.0,65.9123036957942,169.46487826145628,1011293.020291366],
[1800.0,62.78156558223435,172.37468268775766,1010684.0359942877],
[1860.0,59.5920208738242,174.67309218350943,1010018.6699524156],
[1920.0,56.359840256331196,176.527809509185,1009308.5212943885],
[1980.0,53.0957071349765,178.05257165032663,1008566.0866029706],
[2040.0,49.806931990145486,179.32664422688399,1007804.5768594465],
[2100.0,46.498681534646956,-179.59328891398593,1007037.7224090621],
[2160.0,43.174719610505875,-178.66571566318797,1006279.568555158],
[2220.0,39.8378689834257,-177.8595621559396,1005544.2645934955],
[2280.0,36.49030798374279,-177.15109302494685,1004845.8492707929],
[2340.0,33.13376621091987,-176.52183246804321,1004198.0357868215],
[2400.0,29.769656685712416,-175.95713809834456,1003613.9995518705],
[2460.0,26.399166886020215,-175.44520147610103,1003106.1719526672],
[2520.0,23.023322519746323,-174.97633319675307,1002686.0433659438],
[2580.0,19.643032820795696,-174.54244117610475,1002363.9785855431],
[2640.0,16.259123086113235,-174.13664211306852,1002149.0476916907],
[2700.0,12.872358271663243,-173.75296583752976,1002048.8751920784],
[2760.0,9.483460265946666,-173.38612488176275,1002069.5100017675],
[2820.0,6.0931206912876,-173.03132981008483,1002215.3185082887],
[2880.0,2.702010586700813,-172.68413619782245,1002488.9025944744],
[2940.0,-0.6892119935964733,-172.34031263530227,1002891.0440721163],
[3000.0,-4.0798956324755675,-171.99572133557373,1003420.6765248431],
[3060.0,-7.469389734815584,-171.646204198213,1004074.8850787157],
[3120.0,-10.85703857594115,-171.28746772221996,1004848.9341273307],
[3180.0,-14.24217453496908,-170.91496004925335,1005736.3225463658],
[3240.0,-17.62410976478784,-170.5237326381943,1006728.8654534555],
[3300.0,-21.002125409241795,-170.10827750566773,1007816.8011158332],
[3360.0,-24.37545724196677,-169.66232837145355,1008988.9211901146],
[3420.0,-27.743276229233622,-169.17861000045534,1010232.7221063881],
[3480.0,-31.104661942734353,-168.64851383516424,1011534.5750897836],
[3540.0,-34.45856585411095,-168.0616685184915,1012879.9120520179],
[3600.0,-37.80376014113679,-167.40535922244365,1014253.4243868185],
[3660.0,-41.13876540131614,-166.66372664799323,1015639.2715675669],
[3720.0,-44.46174703551827,-165.816639725706,1017021.296371417],
[3780.0,-47.77036401657874,-164.83807599433487,1018383.2435395196],
[3840.0,-51.06154342487441,-163.6937436447147,1019708.978722517],
[3900.0,-54.331135966285075,-162.33750915524067,1020982.704649046],
[3960.0,-57.57337475182775,-160.7058994919473,1022189.1715856007],
[4020.0,-60.77999795650492,-158.7094289210026,1023313.879322905],
[4080.0,-63.93877681949971,-156.21858675442857,1024343.2681180721],
[4140.0,-67.03095389532598,-153.04076704438359,1025264.8962389268],
[4200.0,-70.02662128746789,-148.8821226824271,1026067.6019886648],
[4260.0,-72.87614468934798,-143.28680246471743,1026741.6483317506],
[4320.0,-75.49424561216344,-135.55568736844674,1027278.8484896166],
[4380.0,-77.73290659052475,-124.7145554276482,1027672.6711256902],
[4440.0,-79.35099240784851,-109.85240621365746,1027918.323989069],
[4500.0,-80.04187384107739,-91.42160896422072,1028012.8151344596],
[4560.0,-79.61897452260716,-72.49587144186798,1027954.9910825026],
[4620.0,-78.20133833534929,-56.61628953563914,1027745.5515277366],
[4680.0,-76.08947668973927,-44.84603369641129,1027387.0404438734],
[4740.0,-73.5480766082219,-36.446557852032235,1026883.813677038],
[4800.0,-70.74585885735051,-30.400321421732283,1026241.9833595976],
[4860.0,-67.7806033253583,-25.93747722040068,1025469.3397203629],
[4920.0,-64.7088806730948,-22.54996884285358,1024575.2511121299],
[4980.0,-61.56445629910234,-19.910628110239283,1023570.5433257814],
[5040.0,-58.36829846231748,-17.80616048490287,1022467.3595096784],
[5100.0,-55.13395077520137,-16.094090723386582,1021279.0022638789],
[5160.0,-51.87048596005568,-14.676630624310802,1020019.7597273391],
[5220.0,-48.58418770222605,-13.484854801334997,1018704.7177212167],
[5280.0,-45.279544197138314,-12.46895827887303,1017349.5602456002],
[5340.0,-41.959856038774475,-11.592118249005084,1015970.3608487585],
[5400.0,-38.62762027941532,-10.82652977897315,1014583.367588636],
[5460.0,-35.284780151264265,-10.150782370548255,1013204.7844795309],
[5520.0,-31.932891610210856,-9.548083012240275,1011850.5524590807],
[5580.0,-28.573236880326256,-9.005025840981249,1010536.1330075358],
[5640.0,-25.206903337364544,-8.510722305387885,1009276.2976061268],
[5700.0,-21.834839182479698,-8.05617368692769,1008084.926218971],
[5760.0,-18.457893247522602,-7.633809314381743,1006974.8179244457],
[5820.0,-15.076843759284676,-7.237139638337605,1005957.5167016411],
[5880.0,-11.692419319963783,-6.86048971993749,1005043.1551944521],
[5940.0,-8.305314363311597,-6.49878924891404,1004240.3190302991],
[6000.0,-4.916200703917811,-6.147402088051764,1003555.9339653905],
[6060.0,-1.525736382298035,-5.801982840466742,1002995.1777686229],
[6120.0,1.8654272565708025,-5.458350842226094,1002561.4183488219],
[6180.0,5.256639475461551,-5.1123737746861275,1002256.1791840591],
[6240.0,8.647244357896385,-4.759854050053507,1002079.1326380927],
[6300.0,12.03657465580991,-4.396411395083845,1002028.1212590145],
[6360.0,15.423944571482496,-4.017354681791032,1002099.2066620078],
[6420.0,18.808640675600845,-3.617534974415751,1002286.7451146148],
[6480.0,22.189909986264034,-3.1911698138474414,1002583.4884802388],
[6540.0,25.566943947668996,-2.731625635999322,1002980.708747012],
[6600.0,28.938856601419403,-2.231140397969428,1003468.3439828713],
[6660.0,32.30465455383386,-1.680461108413829,1004035.1632233759],
[6720.0,35.66319526930356,-1.068359617394461,1004668.947521885],
[6780.0,39.01312852634954,-0.38097237396067585,1005356.6841758356],
[6840.0,42.352813152182094,0.39911805045202436,1006084.7709914399],
[6900.0,45.680196684122805,1.2941868617479886,1006839.2273595884],
[6960.0,48.99263808828933,2.333257580263248,1007605.9088876562],
[7020.0,52.28664066491826,3.5549048818408724,1008370.7223603382],
[7080.0,55.55743910964797,5.0115090990858215,1009119.8378826927],
[7140.0,58.79834211742455,6.775875453154981,1009839.8951840673],
[7200.0,61.999651035666766,8.951791736651876,1010518.20122605],
[7260.0,65.14681663603866,11.6912562781463,1011142.9164535666],
[7320.0,68.2171784152918,15.22301933258329,1011703.2272499602],
[7380.0,71.17399383660333,19.89954306604093,1012189.5023974467],
[7440.0,73.95527321710811,26.268927588068575,1012593.4315988434],
[7500.0,76.45337410186066,35.154565770816454,1012908.1443793977],
[7560.0,78.48337471985212,47.59956137775661,1013128.307956229],
[7620.0,79.76357443977817,64.18558066816907,1013250.2029343345],
[7680.0,80.00206200315583,83.39023044617954,1013271.7759594019],
[7740.0,79.13011495961845,101.43282985642513,1013192.6687295785],
[7800.0,77.3755688413896,115.62138174940438,1013014.2230393906],
[7860.0,75.04555467434304,125.87157844324608,1012739.4617988702],
[7920.0,72.36625774885752,133.17825799932015,1012373.0462419066],
[7980.0,69.4734580930268,138.483452821178,1011921.2098080979],
[8040.0,66.44511067217121,142.4428927276619,1011391.6694537076],
[8100.0,63.3267577704642,145.4808729704274,1010793.5154193765],
[8160.0,60.146011595074285,147.87094024079227,1010137.0807534072],
[8220.0,56.920308257774415,149.79292242169365,1009433.7921596912],
[8280.0,53.66109384334393,151.3682024318388,1008696.0040049563],
[8340.0,50.37615508263004,152.68098434495175,1007936.817578806],
[8400.0,47.07096559710136,153.7912244040019,1007169.8879466914],
[8460.0,43.74949244947618,154.74265735709992,1006409.2209662347],
[8520.0,40.414696077518826,155.56790154875296,1005668.9632454102],
[8580.0,37.06884984663858,156.2917878771223,1004963.1879985528],
[8640.0,33.713749952963845,156.9335834672727,1004305.6799001091],
[8700.0,30.350856629077562,157.50851131754152,1003709.7221344265],
[8760.0,26.981391104609436,158.02881145231402,1003187.888892104],
[8820.0,23.60640334795206,158.5044973173038,1002751.8465583883],
[8880.0,20.22682007606234,158.94390586377443,1002412.1667763655],
[8940.0,16.84347917915063,159.35410575640608,1002178.1544422638],
[9000.0,13.457154646217425,159.74120679919085,1002057.6935009528],
[9060.0,10.068574780542004,160.11060004714173,1002057.1131585911],
[9120.0,6.6784356650642795,160.46714924640983,1002181.0768178856],
[9180.0,3.2874113025701366,160.8153484815372,1002432.4956767883],
[9240.0,-0.10383848989438035,161.15945715127194,1002812.4685186505],
[9300.0,-3.4946615709876654,161.50362100062753,1003320.2487730292],
[9360.0,-6.884407616436899,161.85198652051525,1003953.2394496857],
[9420.0,-10.272422238496128,162.20881536767655,1004707.016057767],
[9480.0,-13.658040410662656,162.5786054583565,1005575.377129303],
[9540.0,-17.040578466058527,162.96622604852513,1006550.4214843966],
[9600.0,-20.41932381035218,163.37707553087222,1007622.6509163672],
[9660.0,-23.793521272715875,163.8172730725093,1008781.0965502978],
[9720.0,-27.16235467364047,164.29389897351183,1010013.4667481403],
[9780.0,-30.524921653811322,164.81530438656145,1011306.314104108],
[9840.0,-33.88019897984746,165.3915198536599,1012645.2188037856],
[9900.0,-37.22699424687131,166.03480572270624,1014014.9854106202],
[9960.0,-40.56387783919839,166.7604088049171,1015399.8499969759],
[10020.0,-43.88908567508141,167.58762355971103,1016783.6944524744],
[10080.0,-47.200377732906375,168.54131120536877,1018150.2647778937],
[10140.0,-50.49482795449859,169.6541215796586,1019483.3902031172],
[10200.0,-53.768504675854366,170.96981750955035,1020767.2000484637],
[10260.0,-57.01597108170993,172.5483693257065,1021986.3353725286],
[10320.0,-60.229479972470564,174.47395758613462,1023126.152610509],
[10380.0,-63.39763101191655,176.86785161235468,1024172.9165972061],
[10440.0,-66.50304878945845,179.9095579013656,1025113.9805822711],
[10500.0,-69.51821856305638,-176.12817318227917,1025937.9510748655],
[10560.0,-72.39778764796517,-170.82292212130307,1026634.8355964415],
[10620.0,-75.06422429773248,-163.52319958060042,1027196.1716670321],
[10680.0,-77.38274696291559,-153.29563371633458,1027615.1356012847],
[10740.0,-79.12936710629869,-139.15793076559632,1027886.6299404725],
[10800.0,-80.00045373615323,-121.19450188178865,1028007.3485955528],
[10860.0,-79.77014370419491,-102.06036364370453,1027975.8190228188],
[10920.0,-78.50437947626666,-85.50070442876805,1027792.4209976875],
[10980.0,-76.49082324296731,-73.04818937063772,1027459.3817945789],
[11040.0,-74.00900848558625,-64.14332697282377,1026980.7478217508],
[11100.0,-71.24328995878716,-57.75415711826043,1026362.3330021311],
[11160.0,-68.30128273017175,-53.060576280038305,1025611.6444335267],
[11220.0,-65.24505306651785,-49.51485531391945,1024737.7861069808],
[11280.0,-62.111410622991066,-46.76410955694432,1023751.341709185],
[11340.0,-58.92305575881451,-44.57905639810998,1022664.2377847009],
[11400.0,-55.6945542160652,-42.80723608215672,1021489.5887842062],
[11460.0,-52.435604477032605,-41.344498243512774,1020241.5257743674],
[11520.0,-49.15288644067358,-40.11776151312963,1018935.0108303152],
[11580.0,-45.85114667368474,-39.07443670593171,1017585.6393689468],
[11640.0,-42.533858526181184,-38.17579072471036,1016209.4329048778],
[11700.0,-39.203636981367346,-37.39267903431047,1014822.6249157822],
[11760.0,-35.862507127938,-36.70273321400103,1013441.4426828129],
[11820.0,-32.512082468833604,-36.088463444129474,1012081.8881185824],
[11880.0,-29.153686054229127,-35.5359495528875,1010759.520702005],
[11940.0,-25.788434382314723,-35.0339188669382,1009489.2457006291],
[12000.0,-22.41729646560922,-34.57308328490976,1008285.1108692116],
[12060.0,-19.04113597528713,-34.14565309465508,1007160.1147651074],
[12120.0,-15.660741643743123,-33.74497304826676,1006126.0297111261],
[12180.0,-12.276849404942908,-33.36524391408091,1005193.2422647852],
[12240.0,-8.890158674199393,-33.00130410697924,1004370.6138173426],
[12300.0,-5.501344476638871,-32.64845340456289,1003665.3636515483],
[12360.0,-2.111066686244417,-32.30230559998323,1003082.9764358072],
[12420.0,1.2800226495034597,-31.958660082263187,1002627.1357328497],
[12480.0,4.671273101643538,-31.613384294468865,1002299.6846609255],
[12540.0,8.062030068306633,-31.26230010945543,1002100.6143758359],
[12600.0,11.451628733752152,-30.901067547327862,1002028.080553895],
[12660.0,14.839387087623052,-30.525058995834836,1002078.4475630304],
[12720.0,18.224597228294446,-30.129216145175928,1002246.359521945],
[12780.0,21.60651401233193,-29.70788006785715,1002524.8369815217],
[12840.0,24.984339847909457,-29.254581982803924,1002905.3975264125],
[12900.0,28.35720401655853,-28.76177776300526,1003378.1982009504],
[12960.0,31.724134268219466,-28.220502391186024,1003932.1973197606],
[13020.0,35.084017440964196,-27.619910045597827,1004555.3329359541],
[13080.0,38.435544293396354,-26.94664916532778,1005234.715013685],
[13140.0,41.77713123440016,-26.18399609116365,1005956.8281886972],
[13200.0,45.10680754083917,-25.310629509057613,1006707.7419009674],
[13260.0,48.42204979471755,-24.29886009953603,1007473.3246446333],
[13320.0,51.71953346749514,-23.11201619369,1008239.4590995904],
[13380.0,54.99475066259641,-21.700491864051507,1008992.2549806837],
[13440.0,58.24140478259667,-19.99562490295459,1009718.2565587402],
[13500.0,61.45042065229266,-17.89997347141387,1010404.6419653733],
[13560.0,64.60826783465905,-15.271506791631321,1011039.411585222],
[13620.0,67.6940134347459,-11.89745659285247,1011611.5630563125],
[13680.0,70.6739546680264,-7.451123433141073,1012111.2506377234],
[13740.0,73.4915995532223,-1.4243101730496268,1012529.9269553084],
[13800.0,76.04917631979906,6.955352694368499,1012860.4653986342],
[13860.0,78.17754752258728,18.714737251492338,1013097.2617103369],
[13920.0,79.61022744670606,34.61315364419347,1013236.3135791767],
[13980.0,80.04269950219727,53.60307158664974,1013275.2773209264],
[14040.0,79.35249545705938,72.11514607627122,1013213.5010019832],
[14100.0,77.72743712525686,87.0338716518456,1013052.0336321611],
[14160.0,75.47769938260885,97.9016059161422,1012793.6103233097],
[14220.0,72.84687894508558,105.64161124253631,1012442.6135808233],
[14280.0,69.9841485404808,111.23768833855446,1012005.01116577],
[14340.0,66.97527683333124,115.39380377860194,1011488.2712362586],
[14400.0,63.87011422833537,118.56797569599232,1010901.2557487199],
[14460.0,60.6986765684264,121.05497690422386,1010254.0933712439],
[14520.0,57.47978622138021,123.04779142171213,1009558.0334316608],
[14580.0,54.225719429469414,124.67606828675284,1008825.2826893216],
[14640.0,50.944778280975804,126.02932736193532,1008068.8269805072],
[14700.0,47.64276680860221,127.1710318659965,1007302.2400356111],
[14760.0,44.32386990360615,128.1472886584404,1006539.4820006535],
[14820.0,40.99119503494722,128.99235820448143,1005794.6904071396],
[14880.0,37.647116763028556,129.7322322612072,1005081.9665184678],
[14940.0,34.29350203146035,130.387013986377,1004415.1601303085],
[15000.0,30.931861138827493,130.97253825042097,1003807.6560100637],
[15060.0,27.56345106284735,131.50149897051958,1003272.1652203542],
[15120.0,24.189347448564366,131.9842498734353,1002820.5245771273],
[15180.0,20.81049551215357,132.42938483971488,1002463.5074404358],
[15240.0,17.427746473238297,132.84416704830255,1002210.6489211365],
[15300.0,14.041883892011084,133.23485304306675,1002070.0884091542],
[15360.0,10.653642884374019,133.60694313557022,1002048.4320875034],
[15420.0,7.2637242934832935,133.96538005358605,1002150.6377958235],
[15480.0,3.8728053190820457,134.31471154278054,1002379.9242504281],
[15540.0,0.4815477332842152,134.6592285800794,1002737.7062232029],
[15600.0,-2.909395425387814,135.0030882615867,1003223.556838453],
[15660.0,-6.299373929886693,135.35042886233182,1003835.197673511],
[15720.0,-9.687734535209628,135.70548378573753,1004568.5168606193],
[15780.0,-13.07381457284868,136.07270101030616,1005417.614893745],
[15840.0,-16.45693425218339,136.4568751824719,1006374.877359487],
[15900.0,-19.83638683736214,136.86330077938393,1007431.0733475894],
[15960.0,-23.21142566848002,137.2979569683995,1008575.4778649027],
[16020.0,-26.58124667677061,137.76773827402837,1009796.0161879185],
[16080.0,-29.94496454770021,138.28075051619837,1011079.4277507676],
[16140.0,-33.301579918112935,138.8466996717945,1012411.4468842078],
[16200.0,-36.64993379507301,139.47741392509397,1013776.9975011307],
[16260.0,-39.98864348700283,140.1875588615735,1015160.3986666184],
[16320.0,-43.316011270477624,140.99563702619005,1016545.577895125],
[16380.0,-46.629891963518205,141.9254136716424,1017916.2889837765],
[16440.0,-49.92749700926555,143.0079941757312,1019256.331210854],
[16500.0,-53.20509777641543,144.2849198435621,1020549.766801846],
[16560.0,-56.45756405741278,145.81289221366706,1021781.1336817399],
[16620.0,-59.67762426856569,147.67116251930273,1022935.6506877212],
[16680.0,-62.85463926391251,149.97337557989033,1023999.4126016274],
[16740.0,-65.97249544405274,152.8869619186005,1024959.5725715852],
[16800.0,-69.0058491912618,156.66524255334113,1025804.5097195812],
[16860.0,-71.91321361396993,161.69964522644062,1026523.9799710271],
[16920.0,-74.62405830632491,168.5961203402863,1027109.2483893239],
[16980.0,-77.01579172058915,178.24196148542742,1027553.2015479264],
[17040.0,-78.88151726251589,-168.34207283927756,1027850.438723121],
[17100.0,-79.92537346313453,-150.928730422551,1027997.3409399503],
[17160.0,-79.88986643375932,-131.70884701022482,1027992.1171502953],
[17220.0,-78.78523281251954,-114.51282716669147,1027834.8270668148],
[17280.0,-76.87847667680859,-101.3567388639143,1027527.3804187193],
[17340.0,-74.46166537801963,-91.91437287741802,1027073.512637113],
[17400.0,-71.73557348093082,-85.15783585185712,1026478.7372184974],
[17460.0,-68.81861652816686,-80.21741624077532,1025750.2752583052],
[17520.0,-65.77895117860695,-76.50314093699428,1024896.9628905986],
[17580.0,-62.656753440063355,-73.6342680201376,1023929.1376168052],
[17640.0,-59.476628084995376,-71.3641527784148,1022858.5047562919],
[17700.0,-56.254257419169804,-69.52951857318476,1021697.9855015414],
[17760.0,-53.000019287741345,-68.0193499889165,1020461.5483108114],
[17820.0,-49.721021372924184,-66.75610082364845,1019164.0256172913],
[17880.0,-46.422287872007075,-65.68420357734747,1017820.9180729022],
[17940.0,-43.10747702585253,-64.76288981514031,1016448.18877103],
[18000.0,-39.7793296188942,-63.96159284825307,1015062.0501012963],
[18060.0,-36.43995783286471,-63.25693055089728,1013678.746073304],
[18120.0,-33.09103628094777,-62.630677762429734,1012314.3330990042],
[18180.0,-29.7339313105304,-62.068372822895846,1010984.4623379145],
[18240.0,-26.36979028375,-61.55833937679829,1009704.1667784242],
[18300.0,-22.999604268131502,-61.09098558091175,1008487.6562469066],
[18360.0,-19.62425267190864,-60.65829192469416,1007348.1234975205],
[18420.0,-16.244535387144776,-60.253429224594065,1006297.5644368985],
[18480.0,-12.861196160633595,-59.87046749178028,1005346.6153767147],
[18540.0,-9.474939747660756,-59.5041486445821,1004504.4099827231],
[18600.0,-6.086444656877462,-59.1497040085511,1003778.458303971],
[18660.0,-2.6963728120974713,-58.80270275938537,1003174.5499243509],
[18720.0,0.694622853376968,-58.4589208531302,1002696.6828866858],
[18780.0,4.0858920478640695,-58.11422212446149,1002347.019605767],
[18840.0,7.476781305738043,-57.76444445819387,1002125.8705212956],
[18900.0,10.866628037407644,-57.4052844383341,1002031.7057560207],
[18960.0,14.254753762983947,-57.03217372806557,1002061.1945509543],
[19020.0,17.64045577314916,-56.64013960984116,1002209.2717609659],
[19080.0,21.022996313634522,-56.223640493112505,1002469.2302230865],
[19140.0,24.401588145749535,-55.77636452494493,1002832.837368317],
[19200.0,27.775374952201343,-55.29097527868343,1003290.4740455226],
[19260.0,31.14340446441459,-54.758782125875264,1003831.2931733847],
[19320.0,34.5045912674137,-54.169303130639356,1004443.3955385706],
[19380.0,37.8576647942609,-53.50967318227851,1005114.0198213996],
[19440.0,41.20109571738582,-52.763826305416465,1005829.7437564434],
[19500.0,44.53299018952998,-51.91134302190035,1006576.6932246861],
[19560.0,47.850935124065884,-50.92579145711149,1007340.7560250112],
[19620.0,51.15176697824019,-49.772287118319305,1008107.7970821776],
[19680.0,54.43121759462551,-48.40381936903262,1008863.871911403],
[19740.0,57.68335627427549,-46.75558503476581,1009595.4352702309],
[19800.0,60.89968267936633,-44.73602710250602,1010289.5420798671],
[19860.0,64.06759994964285,-42.212319472132116,1010934.0378845719],
[19920.0,67.16774799920482,-38.986409894436704,1011517.7363306123],
[19980.0,70.1691746458965,-34.75534581808877,1012030.5813817235],
[20040.0,73.0203462101125,-29.048185254818335,1012463.7922373178],
[20100.0,75.63244574985399,-21.142934644877222,1012809.9891813167],
[20160.0,77.85115657169897,-10.042430474535838,1013063.2988556079],
[20220.0,79.42661969110745,5.140870041982444,1013219.4377231679],
[20280.0,80.04897681653807,23.800080875516787,1013275.7727577008],
[20340.0,79.54675261391131,42.68238444360829,1013231.3586679517],
[20400.0,78.06091659183188,58.322631438975925,1013086.9512363396],
[20460.0,75.89872885757889,69.83864320755647,1012844.9966219269],
[20520.0,73.32073887563827,78.04184424192547,1012509.5967483461],
[20580.0,70.49056691714004,83.9496130748269,1012086.4511670363],
[20640.0,67.50261924089696,88.31583936462556,1011582.7760584779],
[20700.0,64.41152160990057,91.63484000285645,1011007.2013042432],
[20760.0,61.24994270749585,94.22443578403004,1010369.646835849],
[20820.0,58.038225248442956,96.29189191371074,1009681.1797361717],
[20880.0,54.789550054169,97.97580037183424,1008953.8538370236],
[20940.0,51.51277742510892,99.37140737146515,1008200.5338183524],
[21000.0,48.214067403287004,100.54593730797271,1007434.7060652188],
[21060.0,44.89783853026303,101.54803042839029,1006670.2787762453],
[21120.0,41.56735539257666,102.41369422397902,1005921.3740325905],
[21180.0,38.22510035504006,103.17015121589382,1005202.1147264835],
[21240.0,34.873015545454734,103.83838825470275,1004526.4094032904],
[21300.0,31.512664369226837,104.43488528619068,1003907.7381874687],
[21360.0,28.145341673279816,104.97281373259895,1003358.9430301646],
[21420.0,24.7721502806221,105.46288473214668,1002892.0255325222],
[21480.0,21.394054981956323,105.91396177365432,1002517.9555560151],
[21540.0,18.011921104096732,106.33351213268737,1002246.493727395],
[21600.0,14.626542346080372,106.7279465026714,1002086.0307790571],
[21660.0,11.238661055165734,107.10288033381075,1002043.4464352109],
[21720.0,7.848983148771785,107.46334015303297,1002123.9902634802],
[21780.0,4.458189266290589,107.81393146405725,1002331.1865641669],
[21840.0,1.0669433325836175,108.15898046594936,1002666.764972608],
[21900.0,-2.3241005417983924,108.50265901845253,1003130.6180123484],
[21960.0,-5.714292054924868,108.84910056043488,1003720.7863684385],
[22020.0,-9.102978915373683,109.20251378424643,1004433.4721630716],
[22080.0,-12.48950058520914,109.5673006467087,1005263.0800223548],
[22140.0,-15.873180859810272,109.94818572342432,1006202.2852358995],
[22200.0,-19.253318478265772,110.35036505097656,1007242.1278425792],
[22260.0,-22.629174774951995,110.77968462430081,1008372.1310382131],
[22320.0,-25.999957087725537,111.24286194537807,1009580.4419038761],
[22380.0,-29.364796178354165,111.7477689937368,1010853.9921062852],
[22440.0,-32.72271520910165,112.30380259615349,1012178.6759300708],
[22500.0,-36.07258671068944,112.92237987028979,1013539.5427708315],
[22560.0,-39.41307222581597,113.61761462931054,1014921.0010497579],
[22620.0,-42.74253649569999,114.40725946172816,1016307.0304048657],
[22680.0,-46.05892342646877,115.31404470431549,1017681.3989687868],
[22740.0,-49.35957326911193,116.36762210820476,1019027.8825555082],
[22800.0,-52.64094693348355,117.60744983201084,1020330.482642102],
[22860.0,-55.89819924982875,119.08717667330978,1021573.6401412676],

];

var startTime = Cesium.JulianDate.now( new Cesium.JulianDate());
var numberCones = 100;

for (var j=0; j<numberCones;j++) {
var sampledPosition = new Cesium.SampledPositionProperty();
sampledPosition.forwardExtrapolationType = Cesium.ExtrapolationType.HOLD;

for (var i=0; i<positionList.length; i++) {
// console.log(positionList[i][0]);
var timeInterval = positionList[i][0];
var lon = positionList[i][2];
var lat = positionList[i][1];
var alt = positionList[i][3];
var modifiedLon = parseFloat(lon) + (3.5*j);

var positionTime = Cesium.JulianDate.addSeconds(startTime, timeInterval, new Cesium.JulianDate())
sampledPosition.addSample(positionTime, Cesium.Cartesian3.fromDegrees(modifiedLon, lat, 200000.0));

// console.log('data ’ + lon + ’ ’ + lat + ’ ’ +positionTime);
}

viewer.entities.add({
name: “redCone”+j,
position: sampledPosition,
cylinder: {
length: 400000.0,
topRadius: 0.0,
bottomRadius: 100000.0,
material: Cesium.Color.RED,
},
});

}

How is the performance without the cylinders?