Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for performance (0.27 sec)

  1. misc/wasm/wasm_exec.js

    		}
    	}
    
    	if (!globalThis.crypto) {
    		throw new Error("globalThis.crypto is not available, polyfill required (crypto.getRandomValues only)");
    	}
    
    	if (!globalThis.performance) {
    		throw new Error("globalThis.performance is not available, polyfill required (performance.now only)");
    	}
    
    	if (!globalThis.TextEncoder) {
    		throw new Error("globalThis.TextEncoder is not available, polyfill required");
    	}
    
    	if (!globalThis.TextDecoder) {
    JavaScript
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  2. .github/ISSUE_TEMPLATE/11-language-change.yml

      - type: textarea
        id: orthogonality
        attributes:
          label: "Orthogonality: How does this change interact or overlap with existing features?"
          description: "Is the goal of this change a performance improvement? If so, what quantifiable improvement should we expect? How would we measure it?"
        validations:
          required: false
    
      - type: textarea
        id: learning-curve
        attributes:
    Others
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Nov 22 20:49:24 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  3. misc/wasm/wasm_exec_node.js

    }
    
    globalThis.require = require;
    globalThis.fs = require("fs");
    globalThis.TextEncoder = require("util").TextEncoder;
    globalThis.TextDecoder = require("util").TextDecoder;
    
    globalThis.performance ??= require("performance");
    
    globalThis.crypto ??= require("crypto");
    
    require("./wasm_exec");
    
    const go = new Go();
    go.argv = process.argv.slice(2);
    go.env = Object.assign({ TMPDIR: require("os").tmpdir() }, process.env);
    JavaScript
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Jan 30 18:49:42 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  4. src/archive/tar/stat_unix.go

    package tar
    
    import (
    	"io/fs"
    	"os/user"
    	"runtime"
    	"strconv"
    	"sync"
    	"syscall"
    )
    
    func init() {
    	sysStat = statUnix
    }
    
    // userMap and groupMap caches UID and GID lookups for performance reasons.
    // The downside is that renaming uname or gname by the OS never takes effect.
    var userMap, groupMap sync.Map // map[int]string
    
    func statUnix(fi fs.FileInfo, h *Header, doNameLookups bool) error {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  5. src/bytes/bytes.go

    		if r != utf8.RuneError {
    			// r is 2 to 4 bytes
    			if len(chars) == width {
    				if chars == string(r) {
    					return i
    				}
    				continue
    			}
    			// Use bytealg.IndexString for performance if available.
    			if bytealg.MaxLen >= width {
    				if bytealg.IndexString(chars, string(r)) >= 0 {
    					return i
    				}
    				continue
    			}
    		}
    		for _, ch := range chars {
    			if r == ch {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  6. src/archive/zip/zip_test.go

    			85, 120, 0, 0, // tag 30805 size 0
    		},
    	}
    	testValidHeader(&h, t)
    }
    
    // Just benchmarking how fast the Zip64 test above is. Not related to
    // our zip performance, since the test above disabled CRC32 and flate.
    func BenchmarkZip64Test(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		testZip64(b, 1<<26)
    	}
    }
    
    func BenchmarkZip64TestSizes(b *testing.B) {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  7. api/go1.txt

    pkg syscall (windows-386), const HKEY_CURRENT_USER ideal-int
    pkg syscall (windows-386), const HKEY_DYN_DATA ideal-int
    pkg syscall (windows-386), const HKEY_LOCAL_MACHINE ideal-int
    pkg syscall (windows-386), const HKEY_PERFORMANCE_DATA ideal-int
    pkg syscall (windows-386), const HKEY_USERS ideal-int
    pkg syscall (windows-386), const IFF_POINTTOPOINT ideal-int
    pkg syscall (windows-386), const IGNORE ideal-int
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
  8. api/go1.1.txt

    pkg syscall (windows-386), const HKEY_DYN_DATA = 2147483654
    pkg syscall (windows-386), const HKEY_LOCAL_MACHINE = 2147483650
    pkg syscall (windows-386), const HKEY_PERFORMANCE_DATA = 2147483652
    pkg syscall (windows-386), const HKEY_USERS = 2147483651
    pkg syscall (windows-386), const IFF_LOOPBACK = 4
    pkg syscall (windows-386), const IFF_MULTICAST = 16
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  9. doc/go1.22.html

    </p>
    
    <h2 id="runtime">Runtime</h2>
    
    <p><!-- CL 543255 -->
      The runtime now keeps type-based garbage collection metadata nearer to each
      heap object, improving the CPU performance (latency or throughput) of Go programs
      by 1&ndash;3%.
      This change also reduces the memory overhead of the majority Go programs by
      approximately 1% by deduplicating redundant metadata.
    HTML
    - Registered: Tue Feb 06 11:13:10 GMT 2024
    - Last Modified: Wed Jan 31 20:51:56 GMT 2024
    - 45.6K bytes
    - Viewed (0)
  10. src/archive/tar/tar_test.go

    			b.Run(v.label, func(b *testing.B) {
    				b.ReportAllocs()
    				for i := 0; i < b.N; i++ {
    					// Writing to io.Discard because we want to
    					// test purely the writer code and not bring in disk performance into this.
    					tw := NewWriter(io.Discard)
    					for _, file := range v.files {
    						if err := tw.WriteHeader(file.hdr); err != nil {
    							b.Errorf("unexpected WriteHeader error: %v", err)
    						}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
Back to top