Skip to content

Speed too slow when writing mat73 #85

Open

Description

@zhengliuX

Dear all,

I successfully wrote my data to .mat v7.3, but I noticed the speed was extremely slow. To compare, the same data cost me less than 1sec to write a v5 .mat, but about 47sec for a v73.

Is this as expected? Has anyone faced the same problem with me? Any ideas to solve this?

I will keep trying to find out why and the solution of it.

Best,
Zheng

Activity

  1. changed the title [-]Speed optimization when writing mat73[/-] [+]Speed too slow when writing mat73[/+] on Nov 11, 2024
  2. traversaro commented on Nov 11, 2024

    @traversaro
    Collaborator

    Indeed the time seems quite a lot, but if there is an issue, it may be more in matio https://github.com/tbeu/matio I guess, as matio-cpp only provides a C++ interface for the C functionalities provided in matio.

    Anyhow, before opening an issue there, I think it make sense:

  3. zhengliuX commented on Nov 11, 2024

    @zhengliuX
    Author

    Thanks! I will discuss the issue there.

  4. zhengliuX commented on Nov 13, 2024

    @zhengliuX
    Author

    tbeu/matio#261 (comment)

    I opened an issue in matio.

  5. traversaro commented on Nov 13, 2024

    @traversaro
    Collaborator

    I think that the mre should use matio, not matio-cpp, otherwise the mantainer does not know if the problem is in matio or matio-cpp. Furthermore, I would wait for having a working mre before opening an issue.

  6. S-Dafarra commented on Nov 18, 2024

    @S-Dafarra
    Collaborator

    Hi @zhengliuer, did you happen to find the source of your issue?

  7. zhengliuX commented on Nov 26, 2024

    @zhengliuX
    Author

    Hi @zhengliuer, did you happen to find the source of your issue?

    Sorry, no. I was occupied by some other things, so I closed the issue for now. Now I have some time for this. And luckily, according to the test result from tbeu/matio#261 (comment), the performance degradation is confirmed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions