Test name | Executions per second |
---|---|
DecodeURI | 2664118.2 Ops/sec |
DecodeURITwice | 1377871.9 Ops/sec |
DecodeURIThrice | 923704.1 Ops/sec |
<!--your preparation HTML code goes here-->
url = 'https://example.com/test%40value/test 2'
const result = decodeURI(url)
const result = decodeURI(decodeURI(url))
const result = decodeURI(decodeURI(decodeURI(url)))