# 性能数据

## 测试环境

* 测试机器类型：4 核 /8 线程 CPU 3.3Ghz，16G 内存
* 测试逻辑：客户端将一定数量的数据传输到服务器，然后服务器将其原样返回给客户端。
* 服务器单进程，多个客户端启动工作台。

## 测试结果

| 框架           | TPS(10 byte) | TPS(128 byte) | TPS(256 byte) |
| ------------ | ------------ | ------------- | ------------- |
| TARS(C++)    | 617163       | 390686        | 280637        |
| TARS(JAVA)   | 430725       | 384113        | 279531        |
| TARS(NODEJS) | 158888       | 158139        | 157334        |
| TARS(GO)     | 596795       | 386024        | 276458        |
| TARS(PHP)    | 168745       | 169953        | 168617        |
| Spring Cloud | 160114       | 157010        | 156830        |
| gRPC(C++）    | 89351        | 86132         | 81630         |
| gRPC(GO)     | 106345       | 100599        | 99684         |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://tarscloud.gitbook.io/tarsdocs/tarsgo/performance.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
