debug

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

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