> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

# getRecentPerformanceSamples | Solana

> The Solana getRecentPerformanceSamples method returns recent performance samples. getRecentPerformanceSamples on Solana via Chainstack.

# Solana `getRecentPerformanceSamples` method

The Solana `getRecentPerformanceSamples` method returns recent performance samples.

This method provides detailed information about the node's recent performance, including the number of slots and blocks processed, and the number of slots skipped. It is useful for monitoring the node's performance.

## Parameters

* `limit` — (optional) the maximum number of performance samples to return. If not provided, the method will return all available performance samples.

## Response

* `value` — an array of performance sample objects, each containing:
  * `numSlots` — the number of slots processed.
  * `numBlocks` — the number of blocks processed.
  * `numSkipped` — the number of slots skipped.

## Use case

A practical use case for `getRecentPerformanceSamples` is to monitor the node's performance. This can be useful for network monitoring tools or other applications that need to display or make use of this information.


## OpenAPI

````yaml openapi/solana_node_api/getRecentPerformanceSamples.json POST /9de47db917d4f69168e3fed02217d15b
openapi: 3.0.0
info:
  title: getRecentPerformanceSamples example
  version: 1.0.0
  description: This is an API example for Solana's getRecentPerformanceSamples.
servers:
  - url: https://nd-326-444-187.p2pify.com
security: []
paths:
  /9de47db917d4f69168e3fed02217d15b:
    post:
      tags:
        - query
      summary: getRecentPerformanceSamples
      operationId: getRecentPerformanceSamples
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: getRecentPerformanceSamples
                params:
                  type: array
                  default:
                    - 5
      responses:
        '200':
          description: Recent performance samples details
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: array
                    items:
                      type: object

````