mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-27 02:30:17 +08:00
22 lines
1.1 KiB
Markdown
22 lines
1.1 KiB
Markdown
|
# @gradio/tootils
|
||
|
|
||
|
## 0.0.2
|
||
|
|
||
|
### Highlights
|
||
|
|
||
|
#### Improve startup performance and markdown support ([#5279](https://github.com/gradio-app/gradio/pull/5279) [`fe057300`](https://github.com/gradio-app/gradio/commit/fe057300f0672c62dab9d9b4501054ac5d45a4ec))
|
||
|
|
||
|
##### Improved markdown support
|
||
|
|
||
|
We now have better support for markdown in `gr.Markdown` and `gr.Dataframe`. Including syntax highlighting and Github Flavoured Markdown. We also have more consistent markdown behaviour and styling.
|
||
|
|
||
|
##### Various performance improvements
|
||
|
|
||
|
These improvements will be particularly beneficial to large applications.
|
||
|
|
||
|
- Rather than attaching events manually, they are now delegated, leading to a significant performance improvement and addressing a performance regression introduced in a recent version of Gradio. App startup for large applications is now around twice as fast.
|
||
|
- Optimised the mounting of individual components, leading to a modest performance improvement during startup (~30%).
|
||
|
- Corrected an issue that was causing markdown to re-render infinitely.
|
||
|
- Ensured that the `gr.3DModel` does re-render prematurely.
|
||
|
|
||
|
Thanks [@pngwn](https://github.com/pngwn)!
|