Google inozvirumbidza ne 23% yekumhanyisa kuwedzera muChannel mushure mekugadzirisa kodhi 

Google yakavhurwa yapfuura mazuva mashoma (mushure mekuburitswa kwazvino vhezheni yeChannel) ruzivo rwehunyanzvi nezve maviri matsva kodhi optimization matekinoroji inosanganisirwa, iyo pIvo vanovimbisa kunatsiridza nguva dzekurodha dzemapeji ewebhu kusvika 23% mune dzimwe nguva.

Iyo kambani yakatsanangura matekinoroji maviri, Sparkplug inodaidza uye "mapfupi akapfekerwa mafoni". Ose ari maviri anoitwa sechikamu cheiyo V8 injini iyo Chrome inoshandisa kurodha JavaScript kodhi yemapeji ewebhu. Mapeji eWebhu anoshandisa JavaScript kuita mashandiro akakosha senge mabhatani uye mamamenyu, zvinoreva kuti kuwedzera kumhanya uko kodhi yakanyorwa mumitauro inomhanya kunogona kupa kuvandudza kwakanyanya mukuita kwese.

Izvo zvinotaurwa kuti injini yeV8:

"Inomhanya pamusoro pemakore makumi manomwe neshanu eJavaScript kodhi zuva nezuva… Chrome ikozvino yave kusvika pa78% nekukurumidza nekuburitswa kweSparkplug compiler nefoni pfupi yakavakirwa-mukati, ichiponesa vashandisi vedu pamusoro pemakore gumi nemanomwe eCPU nguva nguva dzese». Chrome Chigadzirwa Manager Thomas Nattestad akanyora mune blog positi.

Code yakanyorwa mumitauro yekuronga seJavaScript haigone kuitiswa yakananga mukomputa yepakati yekugadzirisa unit, asi inofanira kutanga yashandurwa kuita inonzi yepasi-chikamu kodhi (muchina kodhi).

Iri ibasa iro mainjiniya eGoogle ndakurumidza neSparkplug, yekutanga yeairi achangoburwa tekinoroji. Zviri compiler inoshandura iyo JavaScript kodhi yewebhu peji kuita muchina kodhi uye mukuita izvi, inoita optimizations kubatsira yemushandisi komputa kurodha peji rewebhu nekukurumidza.

Uye ndezvekuti kunyangwe Chrome ichitova neyekugadzirisa iyo inogonesa kodhi kuvandudza mashandiro, izvo iripo compiler inotora chinguva kurovera mukati mushure mekunge mushandisi avhura peji rewebhu, zvinoreva kuti pane hwindo renguva iro izvo zvemukati mewebhu zvakatakurwa asi zvakadaro haisi kumhanya kusvika pazvaifanira. Sparkplug inopa kukurumidza kusimudzira mune iyo nguva hwindo kuitira kuti vashandisi vagone kuona nekukurumidza kubhurawuza kunyangwe Chrome isati yapedza zvese zvayo optimizations.

Icho chikonzero nei Sparkplug inogona kutanga kuwedzera mashandiro yekodhi pamberi pemoto uripo weComputer optimization ndeyekuti inokurumidza. Iko kumhanyisa mukana, zvakare, mhedzisiro yemaitiro akasarudzika esoftware anoshandiswa neGoogle mainjiniya.

Chokutanga, Sparkplug inotora mukana wekuti Chrome inoshandura kodhi JavaScript yemapeji ese ewebhu muchimiro chepakati chinonzi bytecode yekureruka kwekugadziriswa. Sparkplug inoita yayo optimizations pane byte kodhi pachinzvimbo chepakutanga JavaScript kodhi, iyo inomhanyisa nekuda kwezvikonzero zvakasiyana zvehunyanzvi.

Maitiro echipiri neiyo Google inomhanyisa Sparkplug yaisanganisira kusvetuka imwe yematanho iyo inowanzo sanganisira maitiro ekugadzirisa kodhi.

Iyo imwe tekinoroji nyowani iyo inobatsira mukuita kweshanduro nyowani yeChrome inodaidzwa ipfupi yakadzamidzirwa mafoni. Iyo tekinoroji inowana mazita ayo kubva kune akavakirwa, ayo ari snippets ekodhi iyo inomhanya padivi peiyo JavaScript kodhi pane peji rewebhu uye inoita akasiyana siyana anobatsira mabasa

Pamberi pechiratidziro chechinhu, Chrome yakachengetedza inline kodhi neJavaScript muzvikamu zvakasarudzika zvakasarudzika zveyeuchidzo yemakomputa, ichinonoka kuita nekuda kweruzivo rwehunyanzvi rwakanangana nemaitiro emaprosesa emazuva ano.

Mukuita, iyo tekinoroji inowana kukurumidza nekudzora kudikanwa kwema processor kuti ishandise kufanotaura mashandiro yematavi. Bazi rekufanotaura mashandiro chinhu chechip chinofungidzira mhedzisiro mhedzisiro yekuverenga. Nekushandisa zvishoma chinhu, Chrome inoderedza njodzi yechip inogadzira fungidziro isiriyo kunonoka kugadzirisa uye nekudaro kunatsiridza mashandiro.

mabviro: https://blog.chromium.org


Izvo zviri muchinyorwa zvinoomerera pamisimboti yedu ye tsika dzekunyora. Kuti utaure chikanganiso tinya pano.

Iva wekutanga kutaura

Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa.

*

*

  1. Inotarisira data: AB Internet Networks 2008 SL
  2. Chinangwa cheiyo data: Kudzora SPAM, manejimendi manejimendi.
  3. Legitimation: Kubvuma kwako
  4. Kutaurirana kwedata
  5. Dhata yekuchengetedza: Dhatabhesi inobatwa neOccentus Networks (EU)
  6. Kodzero: Panguva ipi neipi iwe unogona kudzora, kupora uye kudzima ruzivo rwako