debug

package
v0.2.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2025 License: Apache-2.0 Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package debug is only for JIT encoder/decoder.

It's deprecated.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheStats

type CacheStats struct {
	Hit  int
	Miss int
	Size int
}

A CacheStats records statistics about the type cache.

type MemStats

type MemStats struct {
	Alloc int
	Count int
}

A MemStats records statistics about the memory allocator used in the JIT compiler.

type Stats

type Stats struct {
	Memory  MemStats
	Encoder CacheStats
	Decoder CacheStats
}

A Stats records statistics about the JIT compiler.

func GetStats

func GetStats() Stats

GetStats returns statistics of the JIT compiler.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL