Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BenchmarkJSValEscaperWithStrNoSpecials (0.56 sec)

  1. src/html/template/js_test.go

    	for i := 0; i < b.N; i++ {
    		jsValEscaper("The <i>quick</i>,\r\n<span style='color:brown'>brown</span> fox jumps\u2028over the <canine class=\"lazy\">dog</canine>")
    	}
    }
    
    func BenchmarkJSValEscaperWithStrNoSpecials(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		jsValEscaper("The quick, brown fox jumps over the lazy dog")
    	}
    }
    
    func BenchmarkJSValEscaperWithObj(b *testing.B) {
    	o := struct {
    		S string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 02:20:11 UTC 2024
    - 12.6K bytes
    - Viewed (0)
Back to top