You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1dffd1b
Browse filesBrowse the repository at this point in the historyBrowse files
To measure and analyze JavaScript performance, you can use tools like Chrome DevTools, Lighthouse, WebPageTest, and JSPerf. Chrome DevTools provides a Performance panel for profiling, Lighthouse offers audits for performance metrics, WebPageTest allows for detailed performance testing, and JSPerf helps in comparing the performance of different JavaScript snippets.
6325
+
To measure and analyze JavaScript performance, you can use tools like Chrome DevTools, Lighthouse, WebPageTest, and JSBench. Chrome DevTools provides a Performance panel for profiling, Lighthouse offers audits for performance metrics, WebPageTest allows for detailed performance testing, and JSBench helps in comparing the performance of different JavaScript snippets.
Copy file name to clipboardExpand all lines: questions/what-are-some-tools-that-can-be-used-to-measure-and-analyze-javascript-performance/en-US.mdx
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ title: What are some tools that can be used to measure and analyze JavaScript pe
4
4
5
5
## TL;DR
6
6
7
-
To measure and analyze JavaScript performance, you can use tools like Chrome DevTools, Lighthouse, WebPageTest, and JSPerf. Chrome DevTools provides a Performance panel for profiling, Lighthouse offers audits for performance metrics, WebPageTest allows for detailed performance testing, and JSPerf helps in comparing the performance of different JavaScript snippets.
7
+
To measure and analyze JavaScript performance, you can use tools like Chrome DevTools, Lighthouse, WebPageTest, and JSBench. Chrome DevTools provides a Performance panel for profiling, Lighthouse offers audits for performance metrics, WebPageTest allows for detailed performance testing, and JSBench helps in comparing the performance of different JavaScript snippets.
8
8
9
9
---
10
10
@@ -40,11 +40,11 @@ WebPageTest is a free online tool that provides detailed performance testing of
40
40
- Click the "Start Test" button
41
41
- Review the detailed performance report, including metrics like load time, time to first byte, and more
42
42
43
-
### JSPerf
43
+
### JSBench
44
44
45
-
JSPerf is a tool for comparing the performance of different JavaScript snippets. It allows you to create and run benchmarks to see which code performs better.
45
+
JSBench is a tool for comparing the performance of different JavaScript snippets. It allows you to create and run benchmarks to see which code performs better.
46
46
47
-
- Go to [JSPerf](https://jsperf.com/)
47
+
- Go to [JSBench](https://jsbench.me/)
48
48
- Create a new test case by entering different JavaScript snippets
49
49
- Run the benchmark to compare the performance of the snippets
50
50
- Review the results to see which snippet performs better
@@ -54,4 +54,4 @@ JSPerf is a tool for comparing the performance of different JavaScript snippets.
-[Event loop: microtasks and macrotasks](https://javascript.info/event-loop)
377
-
-["JavaScript Visualized - Event Loop, Web APIs, (Micro)task Queue" by Lydia Hallie](https://www.lydiahallie.com/blog/event-loop)
377
+
-["JavaScript Visualized - Event Loop, Web APIs, (Micro)task Queue" by Lydia Hallie](https://dev.to/lydiahallie/javascript-visualized-event-loop-3dif)
378
378
-["What the heck is the event loop anyway?" by Philip Roberts](https://2014.jsconf.eu/speakers/philip-roberts-what-the-heck-is-the-event-loop-anyway.html)
379
379
-["In The Loop" by Jake Archibald](https://www.youtube.com/watch?v=cCOL7MC4Pl0)
Copy file name to clipboardExpand all lines: questions/why-is-it-in-general-a-good-idea-to-leave-the-global-scope-of-a-website-as-is-and-never-touch-it/en-US.mdx
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -112,4 +112,3 @@ In this example, `count` is not accessible in the global scope. It can only be a
0 commit comments