Skip to main content

Slot

Enum Slot 

Source
pub enum Slot {
Show 26 variants HttpsGet = 0, TlsWriteWait = 1, TlsReadWait = 2, CacheRead = 3, CacheWrite = 4, FetchScript = 5, FontFace = 6, FontParse = 7, ImageDecode = 8, SleepActual = 9, PeekCheck = 10, EthPoll = 11, FirstByte = 12, ReadSleep = 13, ReadRecv = 14, DnsQuery = 15, TcpConnect = 16, TlsHandshake = 17, CssParse = 18, CssKeyCmp = 19, PaintBgImage = 20, PaintGradient = 21, PaintImg = 22, PaintText = 23, DrawCollect = 24, DrawElements = 25,
}
Expand description

計測点。増やすときは NAMES にも同じ順で足すこと。

Variants§

§

HttpsGet = 0

HTTPS 取得(接続〜本文まで)

§

TlsWriteWait = 1

TLS 送信後の応答待ち(retry_write 経路)

§

TlsReadWait = 2

TLS 受信待ち

§

CacheRead = 3

ディスクキャッシュの読み出し

§

CacheWrite = 4

ディスクキャッシュの書き込み

§

FetchScript = 5

外部 CSS/JS の取得(fetch_script_text

§

FontFace = 6

@font-face の登録

§

FontParse = 7

フォントの解析(WOFF2 展開含む)

§

ImageDecode = 8

画像のデコード

§

SleepActual = 9

sleep()実経過(指定より延びていないかを見る)

§

PeekCheck = 10

送信待ちループ内の応答確認(NET_LOCK を取る)

§

EthPoll = 11

送信待ちループ内のイーサネット・ポーリング

§

FirstByte = 12

要求送出後、応答の最初の 1 バイトを待つ時間 (旧: 無条件 sleep(50) が 6 箇所)

§

ReadSleep = 13

受信ループの sleep(1) の実経過

§

ReadRecv = 14

受信ループの tcp_recv_real 呼び出し

§

DnsQuery = 15

DNS 名前解決

§

TcpConnect = 16

TCP 接続確立(SYN 送出〜Established 待ち)

§

TlsHandshake = 17

TLS ハンドシェイク

§

CssParse = 18

CSS の解析(parse_css

§

CssKeyCmp = 19

解析キャッシュの鍵比較(124KB の文字列比較)

§

PaintBgImage = 20

背景画像の描画

§

PaintGradient = 21

グラデーションの描画

§

PaintImg = 22

<img> の描画(object-fit 込み)

§

PaintText = 23

文字列の描画

§

DrawCollect = 24

描画前の「必要な画像の収集」パス(URL を複製している)

§

DrawElements = 25

要素を描く本体ループ

Trait Implementations§

Source§

impl Clone for Slot

Source§

fn clone(&self) -> Slot

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for Slot

Source§

impl Debug for Slot

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for Slot

Source§

impl PartialEq for Slot

Source§

fn eq(&self, other: &Slot) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for Slot

Auto Trait Implementations§

§

impl Freeze for Slot

§

impl RefUnwindSafe for Slot

§

impl Send for Slot

§

impl Sync for Slot

§

impl Unpin for Slot

§

impl UnsafeUnpin for Slot

§

impl UnwindSafe for Slot

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.