Skip to content
Related Articles

Related Articles

SVG window.performance Property

View Discussion
Improve Article
Save Article
  • Last Updated : 30 Mar, 2022

The SVG window.performance property is used to gather performance information about the current document.


var p = window.performance

Return value: This property returns a performance object.

Example 1:


<!DOCTYPE html>
        <button onclick="get()">
            Click Here
        <svg viewBox="0 0 10000 10000" 
            <script type="text/javascript">
                function get() {
                    var g = document.getElementById("g");


Supported Browsers:

  • Google Chrome
  • Edge
  • Firefox
  • Safari
  • Opera
  • Internet Explorer
My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!