You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Dave Brondsema <da...@brondsema.net> on 2023/02/07 14:46:40 UTC
[allura:tickets] #8497 ForgeMarkdown speedup
---
** [tickets:#8497] ForgeMarkdown speedup**
**Status:** in-progress
**Milestone:** unreleased
**Labels:** performance
**Created:** Tue Feb 07, 2023 02:46 PM UTC by Dave Brondsema
**Last Updated:** Tue Feb 07, 2023 02:46 PM UTC
**Owner:** Dave Brondsema
`g.forge_markdown` constructs a new `ForgeMarkdown` with a lot of extensions every time it is used. This can be a bit expensive. Re-using the same instance would probably require updates/fixes to some of our custom extensions. But lots of times `cached_convert` is used and gets a cached result so a full Markdown instance doesn't even need to be created then.
---
Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
[allura:tickets] #8497 ForgeMarkdown speedup
Posted by Dillon Walls <di...@slashdotmedia.com.INVALID>.
- **status**: review --> closed
- **Comment**:
looks good!
---
** [tickets:#8497] ForgeMarkdown speedup**
**Status:** closed
**Milestone:** unreleased
**Labels:** performance
**Created:** Tue Feb 07, 2023 02:46 PM UTC by Dave Brondsema
**Last Updated:** Tue Feb 07, 2023 05:23 PM UTC
**Owner:** Dave Brondsema
`g.forge_markdown` constructs a new `ForgeMarkdown` with a lot of extensions every time it is used. This can be a bit expensive. Re-using the same instance would probably require updates/fixes to some of our custom extensions. But lots of times `cached_convert` is used and gets a cached result so a full Markdown instance doesn't even need to be created then.
---
Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
[allura:tickets] #8497 ForgeMarkdown speedup
Posted by Dave Brondsema <da...@brondsema.net>.
- **status**: in-progress --> review
- **Comment**:
db/8497
---
** [tickets:#8497] ForgeMarkdown speedup**
**Status:** review
**Milestone:** unreleased
**Labels:** performance
**Created:** Tue Feb 07, 2023 02:46 PM UTC by Dave Brondsema
**Last Updated:** Tue Feb 07, 2023 02:46 PM UTC
**Owner:** Dave Brondsema
`g.forge_markdown` constructs a new `ForgeMarkdown` with a lot of extensions every time it is used. This can be a bit expensive. Re-using the same instance would probably require updates/fixes to some of our custom extensions. But lots of times `cached_convert` is used and gets a cached result so a full Markdown instance doesn't even need to be created then.
---
Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.