# How to accelerate the action

**URL:** <https://forum.rasa.com/t/how-to-accelerate-the-action/53637>\
**Category:** Rasa Open Source\
**Created:** [June 8, 2022, 4:07am UTC](https://forum.rasa.com/t/how-to-accelerate-the-action/53637 "2022-06-08T04:07:26Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![xhyxxj](https://avatars.discourse-cdn.com/v4/letter/x/35a633/32.png) [@xhyxxj](https://forum.rasa.com/u/xhyxxj)\
**Post date:** [June 8, 2022, 4:07am UTC](https://forum.rasa.com/t/how-to-accelerate-the-action/53637/1 "2022-06-08T04:07:26Z")

</div>

![BSZKRPHZ7PW0(1)MYO7GTWS](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/0/b/0bf4ef43391bf96c13b5dfef30553d003e772e30.png)

There are three step action,I want to response step by step, not wait the all result.

And is there else way to accelerate the action response time? I need help,thanks

---

<div class="post-metadata">

**Author:** ![xhyxxj](https://avatars.discourse-cdn.com/v4/letter/x/35a633/32.png) [@xhyxxj](https://forum.rasa.com/u/xhyxxj)\
**Post date:** [June 8, 2022, 4:09am UTC](https://forum.rasa.com/t/how-to-accelerate-the-action/53637/2 "2022-06-08T04:09:10Z")

</div>

I mean the custom action.py function time. it takes more than 2 seconds. I test when only have the utter\_XX; it run fast.

---

<div class="post-metadata">

**Author:** ![xhyxxj](https://avatars.discourse-cdn.com/v4/letter/x/35a633/32.png) [@xhyxxj](https://forum.rasa.com/u/xhyxxj)\
**Post date:** [June 8, 2022, 5:17am UTC](https://forum.rasa.com/t/how-to-accelerate-the-action/53637/3 "2022-06-08T05:17:42Z")

</div>

I test, the action respnse slow, when input a question: time is 13.01.56

 ![H](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/7/7/773317f60d94f5e9e4e64bf718e27cb72b6e402e.png)

Then 13.02.00 it respnse, it slow ,takes me 4 seconds; but in during the function,it fast, you can see,13.02.00,859 ; 13.02.00,859 ; 13.02.00,859

so how to accelerate the time of start up the action function

---

<div class="post-metadata">

**Author:** ![xhyxxj](https://avatars.discourse-cdn.com/v4/letter/x/35a633/32.png) [@xhyxxj](https://forum.rasa.com/u/xhyxxj)\
**Post date:** [June 8, 2022, 5:18am UTC](https://forum.rasa.com/t/how-to-accelerate-the-action/53637/4 "2022-06-08T05:18:40Z")

</div>

Help!!!

---

<div class="post-metadata">

**Author:** ![xhyxxj](https://avatars.discourse-cdn.com/v4/letter/x/35a633/32.png) [@xhyxxj](https://forum.rasa.com/u/xhyxxj)\
**Post date:** [June 8, 2022, 6:02am UTC](https://forum.rasa.com/t/how-to-accelerate-the-action/53637/5 "2022-06-08T06:02:59Z")

</div>

it takes 2 seconds for every custom action ;how to accelerate call the custom action

---

<div class="post-metadata">

**Author:** ![xhyxxj](https://avatars.discourse-cdn.com/v4/letter/x/35a633/32.png) [@xhyxxj](https://forum.rasa.com/u/xhyxxj)\
**Post date:** [June 8, 2022, 9:11am UTC](https://forum.rasa.com/t/how-to-accelerate-the-action/53637/6 "2022-06-08T09:11:03Z")

</div>

when story turn into the custom action ,it takes 2 second…why?

---

<div class="post-metadata">

**Author:** ![xhyxxj](https://avatars.discourse-cdn.com/v4/letter/x/35a633/32.png) [@xhyxxj](https://forum.rasa.com/u/xhyxxj)\
**Post date:** [June 8, 2022, 9:16am UTC](https://forum.rasa.com/t/how-to-accelerate-the-action/53637/7 "2022-06-08T09:16:39Z")

</div>

I test it, each custom action takes about 2 second…why?

---

<div class="post-metadata">

**Author:** ![xhyxxj](https://avatars.discourse-cdn.com/v4/letter/x/35a633/32.png) [@xhyxxj](https://forum.rasa.com/u/xhyxxj)\
**Post date:** [June 8, 2022, 9:17am UTC](https://forum.rasa.com/t/how-to-accelerate-the-action/53637/8 "2022-06-08T09:17:28Z")

</div>

the utter\_XXX is fast.but why custom action so slow
