Skip to content

Slow performance using 0.1-119 #31

@jean997

Description

@jean997

I am having an issue with the new version of mixsqp. I have found it to be mostly faster however I seem to have certain instances where it takes a very very long time. I can file a github issue but I thought I would post here as well. I will attach my test data that replicates this problem. To test it I installed two different versions of mixsqp in different directories. Here is the code I used with output:

library(mixsqp, lib.loc="~/mixsqp/0.1-97")
#library(mixsqp, lib.loc="~/mixsqp/master")
library(ashr)

dat <- readRDS("mixsqp_debug.RDS")


system.time(
 w_res <- with(dat, ashr::mixSQP(matrix_lik =matrix_lik,
                                            prior=c(null_wt, rep(1, K-1)),
                                            weights=rep(1, nrow(matrix_lik))))
)

The top two lines are for switching versions. Using 0.1-97 it completes in 11-15 seconds. Using version 0.1-119 I have not let it run long enough to finish but it is more than 10 minutes.

The data file seems to be too big to submit via github.

Metadata

Metadata

Assignees

No one assigned

    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