GitHub CodeQL vs TRex
GitHub CodeQL
codeql.github.comTRex
trex-tgn.cisco.comSide by side
| Figure | GitHub CodeQL | TRex |
|---|---|---|
| Price from | $30/mo | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Web | Yes | Yes |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| API | — | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 5 | 1 |
| Spec score · Network Testing Software | 8.7 (#3) | 7.9 (#15) |
| Purpose | CodeQL is a language and toolchain for code analysis that treats code as data. | TRex is an open source traffic generator for benchmarking and testing network devices with realistic traffic. |
Plans
GitHub CodeQL
- Free for research and open sourceFree
- GitHub Code Security$30 a month
- CodeQL for open source and researchFree
- GitHub Code Security$30 a month
- GitHub Free with CodeQL code scanningPrice not published
In their own words
GitHub CodeQL
GitHub CodeQL has no write-up on Specifiction yet; its figures are above.
TRex
TRex is an open source traffic generator for benchmarking platforms with realistic network traffic. It produces Layer 3–7 traffic in stateless, stateful, and advanced stateful modes. Stateless mode supports multiple streams, packet-field changes, and per-stream or per-group statistics, latency, and jitter. Advanced stateful mode emulates Layer 7 traffic over scalable TCP and UDP flows. Emulation includes ARP, IPv6, ND, MLD, IGMP, ICMP, DOT1X, DHCPv4, DHCPv6, and DNS. TRex offers Python automation APIs and a console interface; stateless functions can also be used through JSON-RPC. The manual describes it as a Linux application using DPDK and Linux kernel modules, intended for COTS x86 servers. The site says one server can scale up to 200 Gb/sec. It can run in a virtual machine or Docker for low-performance, low-footprint use, but virtual switches can limit throughput and virtual-machine latency results are not accurate. TRex is free, with hardware and NIC requirements. The GUI monitoring application TRexViewer is supported only on Windows.