This is a migrated thread and some comments may be shown as answers.

High processing time - HtmlFormatProvider.import()

1 Answer 94 Views
WordsProcessing
This is a migrated thread and some comments may be shown as answers.
william
Top achievements
Rank 1
william asked on 25 May 2017, 12:23 PM

Hello,
I'm importing an html which contains table (100x6), This process is becoming very time consuming when my cells have borders. See the times below:

Code:

var provider = new HtmlFormatProvider();
Provider.Import(html);

With borders => 12 seconds (https://jsfiddle.net/kya78c0m/)
No borders => 1 seconds (https://jsfiddle.net/3eucxd2e/)

Is there any way to reduce this time when I'm using borders?

1 Answer, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 30 May 2017, 11:17 AM
Hello William,

We have managed to reproduce the issue. It is now logged in our feedback portal and you may follow its implementation progress by following this feedback item. We cannot suggest any workaround for improving the import performance in these scenarios.

If you have other questions or concerns, please contact us again.

Regards,
Deyan
Progress Telerik

Larry
Top achievements
Rank 1
commented on 14 Jun 2022, 12:56 PM

Hello Deyan,

I am using version 2022.2.428 and I am still facing the same issue. Is this issue still exists? If so what is the alternate workaround.

 

 

Tanya
Telerik team
commented on 16 Jun 2022, 02:15 PM

Hello Larry,

The status of the report is still Unplanned and the task is currently not included in the planning for the next release. Since the issue is related to the performance of the logic parsing the borders, I am afraid that there isn't a workaround I could suggest for importing the content faster. I am sorry for the inconvenience this is causing you.

Hope this information is useful.

Tags
WordsProcessing
Asked by
william
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Share this question
or