Soumettre la recherche
Mettre en ligne
倒计时优化点滴
•
4 j'aime
•
656 vues
J
j5726
Suivre
懒懒keynote, http://www.oncoding.cn/2011/javascript-flyweight/
Lire moins
Lire la suite
Technologie
Signaler
Partager
Signaler
Partager
1 sur 41
Télécharger maintenant
Télécharger pour lire hors ligne
Recommandé
非同期javascriptの過去と未来
非同期javascriptの過去と未来
Taketoshi 青野健利
jsDay 2016 recap
jsDay 2016 recap
Giorgio Cefaro
Boulder Ruby Statsd
Boulder Ruby Statsd
Mark Morris
clara-rules
clara-rules
Ikuru Kanuma
Engineering JavaScript
Engineering JavaScript
Jim Purbrick
人間では判定できない101すくみじゃんけんをコンピュータに判定させたい for Keras.js
人間では判定できない101すくみじゃんけんをコンピュータに判定させたい for Keras.js
KatsuyaENDOH
Arduino & node.js
Arduino & node.js
Steven Beeckman
Practical project automation
Practical project automation
Reinout van Rees
Recommandé
非同期javascriptの過去と未来
非同期javascriptの過去と未来
Taketoshi 青野健利
jsDay 2016 recap
jsDay 2016 recap
Giorgio Cefaro
Boulder Ruby Statsd
Boulder Ruby Statsd
Mark Morris
clara-rules
clara-rules
Ikuru Kanuma
Engineering JavaScript
Engineering JavaScript
Jim Purbrick
人間では判定できない101すくみじゃんけんをコンピュータに判定させたい for Keras.js
人間では判定できない101すくみじゃんけんをコンピュータに判定させたい for Keras.js
KatsuyaENDOH
Arduino & node.js
Arduino & node.js
Steven Beeckman
Practical project automation
Practical project automation
Reinout van Rees
New feature of async fakeAsync test in angular
New feature of async fakeAsync test in angular
Jia Li
Nine Circles of Inferno or Explaining the PostgreSQL Vacuum
Nine Circles of Inferno or Explaining the PostgreSQL Vacuum
Alexey Lesovsky
Locarise,reagent and JavaScript Libraries
Locarise,reagent and JavaScript Libraries
Ikuru Kanuma
Why Redux-Observable?
Why Redux-Observable?
Anna Su
Websocket on Rails
Websocket on Rails
Jeroen Rosenberg
Lesson 10
Lesson 10
Alex Honcharuk
Service worker: discover the next web game changer
Service worker: discover the next web game changer
Sandro Paganotti
Potential gotchas in making a backbone app
Potential gotchas in making a backbone app
Vignesh Nandha Kumar
Star bed 2018.07.19
Star bed 2018.07.19
Ruo Ando
Test Automation Using Googletest
Test Automation Using Googletest
Mohammed_Publications
Simple Tips and Tricks with Ansible
Simple Tips and Tricks with Ansible
Keith Resar
Chromium Embedded Framework + Go at Brooklyn JS
Chromium Embedded Framework + Go at Brooklyn JS
quirkey
How to Measure Everything: A Million Metrics Per Second with Minimal Develope...
How to Measure Everything: A Million Metrics Per Second with Minimal Develope...
Puppet
Introduction tomongodb
Introduction tomongodb
Lee Theobald
Tips on how to improve the performance of your custom modules for high volume...
Tips on how to improve the performance of your custom modules for high volume...
Odoo
Puppet Data Mining
Puppet Data Mining
Gareth Rushgrove
OpenERP Benchmark : How to test performance and robustness against your volum...
OpenERP Benchmark : How to test performance and robustness against your volum...
Odoo
Spark Jobserver
Spark Jobserver
Yegor Andreenko
Stop Ember Time
Stop Ember Time
cjwoodward
Devel::NYTProf::Apache
Devel::NYTProf::Apache
Tokuhiro Matsuno
Charm Alarm: Team WiSci in the 2013 Technovation Competition
Charm Alarm: Team WiSci in the 2013 Technovation Competition
wisciwomen
Timer & Interrupt Atmega16
Timer & Interrupt Atmega16
Ramadan Ramadan
Contenu connexe
Tendances
New feature of async fakeAsync test in angular
New feature of async fakeAsync test in angular
Jia Li
Nine Circles of Inferno or Explaining the PostgreSQL Vacuum
Nine Circles of Inferno or Explaining the PostgreSQL Vacuum
Alexey Lesovsky
Locarise,reagent and JavaScript Libraries
Locarise,reagent and JavaScript Libraries
Ikuru Kanuma
Why Redux-Observable?
Why Redux-Observable?
Anna Su
Websocket on Rails
Websocket on Rails
Jeroen Rosenberg
Lesson 10
Lesson 10
Alex Honcharuk
Service worker: discover the next web game changer
Service worker: discover the next web game changer
Sandro Paganotti
Potential gotchas in making a backbone app
Potential gotchas in making a backbone app
Vignesh Nandha Kumar
Star bed 2018.07.19
Star bed 2018.07.19
Ruo Ando
Test Automation Using Googletest
Test Automation Using Googletest
Mohammed_Publications
Simple Tips and Tricks with Ansible
Simple Tips and Tricks with Ansible
Keith Resar
Chromium Embedded Framework + Go at Brooklyn JS
Chromium Embedded Framework + Go at Brooklyn JS
quirkey
How to Measure Everything: A Million Metrics Per Second with Minimal Develope...
How to Measure Everything: A Million Metrics Per Second with Minimal Develope...
Puppet
Introduction tomongodb
Introduction tomongodb
Lee Theobald
Tips on how to improve the performance of your custom modules for high volume...
Tips on how to improve the performance of your custom modules for high volume...
Odoo
Puppet Data Mining
Puppet Data Mining
Gareth Rushgrove
OpenERP Benchmark : How to test performance and robustness against your volum...
OpenERP Benchmark : How to test performance and robustness against your volum...
Odoo
Spark Jobserver
Spark Jobserver
Yegor Andreenko
Stop Ember Time
Stop Ember Time
cjwoodward
Devel::NYTProf::Apache
Devel::NYTProf::Apache
Tokuhiro Matsuno
Tendances
(20)
New feature of async fakeAsync test in angular
New feature of async fakeAsync test in angular
Nine Circles of Inferno or Explaining the PostgreSQL Vacuum
Nine Circles of Inferno or Explaining the PostgreSQL Vacuum
Locarise,reagent and JavaScript Libraries
Locarise,reagent and JavaScript Libraries
Why Redux-Observable?
Why Redux-Observable?
Websocket on Rails
Websocket on Rails
Lesson 10
Lesson 10
Service worker: discover the next web game changer
Service worker: discover the next web game changer
Potential gotchas in making a backbone app
Potential gotchas in making a backbone app
Star bed 2018.07.19
Star bed 2018.07.19
Test Automation Using Googletest
Test Automation Using Googletest
Simple Tips and Tricks with Ansible
Simple Tips and Tricks with Ansible
Chromium Embedded Framework + Go at Brooklyn JS
Chromium Embedded Framework + Go at Brooklyn JS
How to Measure Everything: A Million Metrics Per Second with Minimal Develope...
How to Measure Everything: A Million Metrics Per Second with Minimal Develope...
Introduction tomongodb
Introduction tomongodb
Tips on how to improve the performance of your custom modules for high volume...
Tips on how to improve the performance of your custom modules for high volume...
Puppet Data Mining
Puppet Data Mining
OpenERP Benchmark : How to test performance and robustness against your volum...
OpenERP Benchmark : How to test performance and robustness against your volum...
Spark Jobserver
Spark Jobserver
Stop Ember Time
Stop Ember Time
Devel::NYTProf::Apache
Devel::NYTProf::Apache
En vedette
Charm Alarm: Team WiSci in the 2013 Technovation Competition
Charm Alarm: Team WiSci in the 2013 Technovation Competition
wisciwomen
Timer & Interrupt Atmega16
Timer & Interrupt Atmega16
Ramadan Ramadan
Temperature sensor with a led matrix display (arduino controlled)
Temperature sensor with a led matrix display (arduino controlled)
TechLeap
Temperature Sensor
Temperature Sensor
EnricVentosa
Micro Processor Mini Project,Electronic Quiz Table
Micro Processor Mini Project,Electronic Quiz Table
Subhashini Sundaram
Anti drowsy alarm for drivers
Anti drowsy alarm for drivers
Duc Nguyen Van
En vedette
(6)
Charm Alarm: Team WiSci in the 2013 Technovation Competition
Charm Alarm: Team WiSci in the 2013 Technovation Competition
Timer & Interrupt Atmega16
Timer & Interrupt Atmega16
Temperature sensor with a led matrix display (arduino controlled)
Temperature sensor with a led matrix display (arduino controlled)
Temperature Sensor
Temperature Sensor
Micro Processor Mini Project,Electronic Quiz Table
Micro Processor Mini Project,Electronic Quiz Table
Anti drowsy alarm for drivers
Anti drowsy alarm for drivers
Similaire à 倒计时优化点滴
I os 06
I os 06
信嘉 陳
Building resilient applications
Building resilient applications
Nuno Caneco
Java ME API Next
Java ME API Next
Otávio Santana
Performance patterns
Performance patterns
Stoyan Stefanov
Why you should be using structured logs
Why you should be using structured logs
Stefan Krawczyk
Timers in Unix/Linux
Timers in Unix/Linux
geeksrik
Advanced patterns in asynchronous programming
Advanced patterns in asynchronous programming
Michael Arenzon
Test driven development
Test driven development
christoforosnalmpantis
DevoxxUK: Optimizating Application Performance on Kubernetes
DevoxxUK: Optimizating Application Performance on Kubernetes
Dinakar Guniguntala
3 things you must know to think reactive - Geecon Kraków 2015
3 things you must know to think reactive - Geecon Kraków 2015
Manuel Bernhardt
Introduction httpClient on Java11 / Java11時代のHTTPアクセス再入門
Introduction httpClient on Java11 / Java11時代のHTTPアクセス再入門
tamtam180
Monitoring Complex Systems: Keeping Your Head on Straight in a Hard World
Monitoring Complex Systems: Keeping Your Head on Straight in a Hard World
Brian Troutwine
Java Performance Tuning
Java Performance Tuning
Atthakorn Chanthong
AngularJS, More Than Directives !
AngularJS, More Than Directives !
Gaurav Behere
High Performance JavaScript (CapitolJS 2011)
High Performance JavaScript (CapitolJS 2011)
Nicholas Zakas
Douglas Crockford: Serversideness
Douglas Crockford: Serversideness
WebExpo
Mobile Fest 2018. Yonatan Levin. WTF with Android Background Restrictions
Mobile Fest 2018. Yonatan Levin. WTF with Android Background Restrictions
MobileFest2018
Symfony 1, mi viejo amigo
Symfony 1, mi viejo amigo
Jose Antonio Pio
Time Code: Automating Tasks in WordPress with WP-Cron
Time Code: Automating Tasks in WordPress with WP-Cron
Shawn Hooper
Monitoring und Metriken im Wunderland
Monitoring und Metriken im Wunderland
D
Similaire à 倒计时优化点滴
(20)
I os 06
I os 06
Building resilient applications
Building resilient applications
Java ME API Next
Java ME API Next
Performance patterns
Performance patterns
Why you should be using structured logs
Why you should be using structured logs
Timers in Unix/Linux
Timers in Unix/Linux
Advanced patterns in asynchronous programming
Advanced patterns in asynchronous programming
Test driven development
Test driven development
DevoxxUK: Optimizating Application Performance on Kubernetes
DevoxxUK: Optimizating Application Performance on Kubernetes
3 things you must know to think reactive - Geecon Kraków 2015
3 things you must know to think reactive - Geecon Kraków 2015
Introduction httpClient on Java11 / Java11時代のHTTPアクセス再入門
Introduction httpClient on Java11 / Java11時代のHTTPアクセス再入門
Monitoring Complex Systems: Keeping Your Head on Straight in a Hard World
Monitoring Complex Systems: Keeping Your Head on Straight in a Hard World
Java Performance Tuning
Java Performance Tuning
AngularJS, More Than Directives !
AngularJS, More Than Directives !
High Performance JavaScript (CapitolJS 2011)
High Performance JavaScript (CapitolJS 2011)
Douglas Crockford: Serversideness
Douglas Crockford: Serversideness
Mobile Fest 2018. Yonatan Levin. WTF with Android Background Restrictions
Mobile Fest 2018. Yonatan Levin. WTF with Android Background Restrictions
Symfony 1, mi viejo amigo
Symfony 1, mi viejo amigo
Time Code: Automating Tasks in WordPress with WP-Cron
Time Code: Automating Tasks in WordPress with WP-Cron
Monitoring und Metriken im Wunderland
Monitoring und Metriken im Wunderland
Dernier
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
Andrey Devyatkin
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
SynarionITSolutions
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
apidays
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
Radu Cotescu
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
The Digital Insurer
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
apidays
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
MIND CTI
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
Boston Institute of Analytics
🐬 The future of MySQL is Postgres 🐘
🐬 The future of MySQL is Postgres 🐘
RTylerCroy
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Principled Technologies
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Neo4j
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
lior mazor
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Miguel Araújo
presentation ICT roal in 21st century education
presentation ICT roal in 21st century education
jfdjdjcjdnsjd
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Juan lago vázquez
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
apidays
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
sudhanshuwaghmare1
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
The Digital Insurer
Dernier
(20)
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
🐬 The future of MySQL is Postgres 🐘
🐬 The future of MySQL is Postgres 🐘
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
presentation ICT roal in 21st century education
presentation ICT roal in 21st century education
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
倒计时优化点滴
1.
new Timer
etai var aTimer = Ju.app.timer.create( { timeEnd: timeEnd, timeCurrent: timeCurrent, container: theTimer, style: 'simple', callback: function(handler){ console.log(handler); } } );
2.
‣ ‣ ‣ ‣ ‣ ‣
3.
WTF?
....
4.
1.
• ; •
5.
setInterval : 5mins
/ hour setTimeout : 10min / hour 10+ / day
6.
2.
•
7.
3.
• •
8.
3.
• •
9.
10.
- a. b.
11.
- a. b.
12.
- b.
13.
- before:
14.
- a.
innerHTML
15.
- b. replaceHTML
When innerHTML isn’t Fast Enough
16.
- before
innerHTML replaceHTML ff3.6 2600 ff3.6 600 ff3.6 3000 ie8 6100 ie8 900 ie8 4200 ie6 6300 ie6 1200 ie6 5500
17.
- <p class="dsec">.6</p>
18.
- dsec.gif
19.
- html
20.
21.
-
“ ” var aTimer = Ju.app.timer.create( { timeEnd: timeEnd, timeCurrent: timeCurrent, timeLeft: 0, container: theTimer, callback: function(handler){ alert(‘time’s up!’); } } ); Ju.app.timer.remove(aTimer);
22.
-
“ ”
23.
-
“ ”
24.
-
“ ”
25.
/ Tips
26.
/ Tips -
1. vs timer • timer • • setInterval?
27.
/ Tips -
1. vs timer “ ” “ ”
28.
/ Tips -
1. vs timer
29.
/ Tips -
1. vs timer
30.
/ Tips -
1. vs timer => +
31.
/ Tips - 2.
setTimeout vs setInterval “ bug”
32.
/ Tips - 2.
setTimeout vs setInterval setTimeout or setInterval?
33.
/ Tips 2.
setTimeout vs setInterval How JavaScript Timers Work
34.
/ Tips
- 2. setTimeout vs setInterval SetTimeout
35.
36.
37.
Google I/O Conference:
HTML5 Countdown Finale
38.
Google I/O Conference:
HTML5 Countdown Finale
39.
checker
“ ”
40.
Q /A
Télécharger maintenant