# Bug OP-4710 - Poor performance when adding work package to large tree

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-4710

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 7.4.6 |
| Observed in versions |  |
| Sprint | 7.4.6 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

In WP-trees consisting of a large amount of work packages (e.g. 2000) adding a work package has poor performance.

On my machine and testing locally, it takes about 17 seconds to add a work package to such a tree.
