Generative AI can increase developer speed, but less so for complex tasks

Task completion time using generative AI (GenAI), %

Without GenAI

With GenAI

Code documentation

100%

45-50%

Code generation

100%

35-45%

Code refactoring

100%

20-30%

High-complexity tasks

100%

<10%

Without GenAI

With GenAI

Code documentation

100%

45-50%

Code generation

100%

35-45%

Code refactoring

100%

20-30%

High-complexity tasks

100%

<10%

Without GenAI

With GenAI

Code documentation

100%

45-50%

Code generation

100%

35-45%

Code refactoring

100%

20-30%

High-complexity tasks

100%

<10%

Without GenAI

With GenAI

Code documentation

100%

45-50%

Code generation

100%

35-45%

Code refactoring

100%

20-30%

High-complexity tasks

100%

<10%

Mckinsey & Company, 2023