<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Performance Benchmark on FlagGems</title><link>https://flagos-ai.github.io/FlagGems/performance/</link><description>Recent content in Performance Benchmark on FlagGems</description><generator>Hugo</generator><language>en</language><atom:link href="https://flagos-ai.github.io/FlagGems/performance/index.xml" rel="self" type="application/rss+xml"/><item><title>Overview</title><link>https://flagos-ai.github.io/FlagGems/performance/overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://flagos-ai.github.io/FlagGems/performance/overview/</guid><description>&lt;!--
 Copyright 2026 FlagOS Contributors

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 --&gt;
&lt;h1 id="performance-benchmarking-overview"&gt;Performance Benchmarking Overview&lt;a class="anchor" href="#performance-benchmarking-overview"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;&lt;em&gt;FlagGems&lt;/em&gt; operators in general provides better or at least comparable performance
when compared to operators from the native PyTorch library.
We use the &lt;code&gt;triton.testing.do_bench&lt;/code&gt; from the Triton project for benchmarking.
The kernel data obtained are shown in the following graph.&lt;/p&gt;</description></item><item><title>Performance Benchmark</title><link>https://flagos-ai.github.io/FlagGems/performance/benchmark/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://flagos-ai.github.io/FlagGems/performance/benchmark/</guid><description>&lt;!--
 Copyright 2026 FlagOS Contributors

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 --&gt;
&lt;h1 id="performance-benchmarking-in-flaggems"&gt;Performance Benchmarking in FlagGems&lt;a class="anchor" href="#performance-benchmarking-in-flaggems"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;It is recommended to follow the steps below to add test cases for a new operator.
These steps apply to Python-based operators as well as C++-wrapped operators.&lt;/p&gt;</description></item><item><title>Benchmark Results</title><link>https://flagos-ai.github.io/FlagGems/performance/results/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://flagos-ai.github.io/FlagGems/performance/results/</guid><description>&lt;!--
 Copyright 2026 FlagOS Contributors

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 --&gt;
&lt;h1 id="benchmark-results"&gt;Benchmark Results&lt;a class="anchor" href="#benchmark-results"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;The following tables show accuracy and performance benchmark results across platforms.
Use the tabs to switch between platforms. Columns are sortable and filterable.&lt;/p&gt;</description></item><item><title>Performance Database Backends</title><link>https://flagos-ai.github.io/FlagGems/performance/database/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://flagos-ai.github.io/FlagGems/performance/database/</guid><description>&lt;!--
 Copyright 2026 FlagOS Contributors

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 --&gt;
&lt;h1 id="performance-datadase-backends"&gt;Performance Datadase Backends&lt;a class="anchor" href="#performance-datadase-backends"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;&lt;em&gt;FlagGems&lt;/em&gt; implements a &lt;code&gt;LibCache&lt;/code&gt; class for persisting performance benchmark data
into a database. The &lt;code&gt;LibCache&lt;/code&gt; interacts with the database backend through
&lt;code&gt;sqlalchemy&lt;/code&gt;, a generic database abstraction library.&lt;/p&gt;</description></item></channel></rss>