Skip to content

Instantly share code, notes, and snippets.

@phanngoc
Created August 30, 2018 04:13
Show Gist options
  • Save phanngoc/51c30d279af7f739798d302c5acba130 to your computer and use it in GitHub Desktop.
Save phanngoc/51c30d279af7f739798d302c5acba130 to your computer and use it in GitHub Desktop.
/* 1 */
{
"_id" : ObjectId("5b876ecb12d8a8dac5044d93"),
"name" : "test time addMessage",
"time" : "365ms",
"memory" : "11.25Mb",
"created_at" : ISODate("2018-08-30T04:12:59.000Z"),
"thread_id" : 458,
"updated_at" : ISODate("2018-08-30T04:12:59.000Z")
}
/* 2 */
{
"_id" : ObjectId("5b876ecc12d8a8dac23ddc63"),
"name" : "test time addMessage",
"time" : "580ms",
"memory" : "11.25Mb",
"created_at" : ISODate("2018-08-30T04:13:00.000Z"),
"thread_id" : 459,
"updated_at" : ISODate("2018-08-30T04:13:00.000Z")
}
/* 3 */
{
"_id" : ObjectId("5b876ecc12d8a8d94346db84"),
"name" : "test time addMessage",
"time" : "659ms",
"memory" : "11.25Mb",
"created_at" : ISODate("2018-08-30T04:13:00.000Z"),
"thread_id" : 461,
"updated_at" : ISODate("2018-08-30T04:13:00.000Z")
}
/* 4 */
{
"_id" : ObjectId("5b876ecc12d8a8d9175f9095"),
"name" : "test time addMessage",
"time" : "517ms",
"memory" : "11.25Mb",
"created_at" : ISODate("2018-08-30T04:13:00.000Z"),
"thread_id" : 460,
"updated_at" : ISODate("2018-08-30T04:13:00.000Z")
}
/* 5 */
{
"_id" : ObjectId("5b876ecd12d8a8dac23ddc64"),
"name" : "test time addMessage",
"time" : "381ms",
"memory" : "11.25Mb",
"created_at" : ISODate("2018-08-30T04:13:01.000Z"),
"thread_id" : 462,
"updated_at" : ISODate("2018-08-30T04:13:01.000Z")
}
/* 6 */
{
"_id" : ObjectId("5b876ecd12d8a8d919713d13"),
"name" : "test time addMessage",
"time" : "348ms",
"memory" : "11.25Mb",
"created_at" : ISODate("2018-08-30T04:13:01.000Z"),
"thread_id" : 463,
"updated_at" : ISODate("2018-08-30T04:13:01.000Z")
}
@phanngoc
Copy link
Author

/* 1 */
{
    "_id" : ObjectId("5b876faf12d8a8dac23ddc67"),
    "name" : "test time addMessage user",
    "time" : "167ms",
    "memory" : "10.25Mb",
    "created_at" : ISODate("2018-08-30T04:16:47.000Z"),
    "thread_id" : 466,
    "updated_at" : ISODate("2018-08-30T04:16:47.000Z")
}

/* 2 */
{
    "_id" : ObjectId("5b876faf12d8a8dac23ddc68"),
    "name" : "test time search keyword",
    "time" : "68ms",
    "memory" : "10.75Mb",
    "created_at" : ISODate("2018-08-30T04:16:47.000Z"),
    "thread_id" : 466,
    "updated_at" : ISODate("2018-08-30T04:16:47.000Z")
}

/* 3 */
{
    "_id" : ObjectId("5b876faf12d8a8db4a0cd2f2"),
    "name" : "test time addMessage user",
    "time" : "160ms",
    "memory" : "10.25Mb",
    "created_at" : ISODate("2018-08-30T04:16:47.000Z"),
    "thread_id" : 465,
    "updated_at" : ISODate("2018-08-30T04:16:47.000Z")
}

/* 4 */
{
    "_id" : ObjectId("5b876faf12d8a8db4a0cd2f3"),
    "name" : "test time search keyword",
    "time" : "39ms",
    "memory" : "10.75Mb",
    "created_at" : ISODate("2018-08-30T04:16:47.000Z"),
    "thread_id" : 465,
    "updated_at" : ISODate("2018-08-30T04:16:47.000Z")
}

/* 5 */
{
    "_id" : ObjectId("5b876fb012d8a8dac5044d96"),
    "name" : "test time addMessage user",
    "time" : "222ms",
    "memory" : "10.25Mb",
    "created_at" : ISODate("2018-08-30T04:16:48.000Z"),
    "thread_id" : 464,
    "updated_at" : ISODate("2018-08-30T04:16:48.000Z")
}

/* 6 */
{
    "_id" : ObjectId("5b876fb012d8a8dac5044d97"),
    "name" : "test time search keyword",
    "time" : "28ms",
    "memory" : "10.75Mb",
    "created_at" : ISODate("2018-08-30T04:16:48.000Z"),
    "thread_id" : 464,
    "updated_at" : ISODate("2018-08-30T04:16:48.000Z")
}

/* 7 */
{
    "_id" : ObjectId("5b876fb012d8a8dac23ddc69"),
    "name" : "test time addMessage user",
    "time" : "228ms",
    "memory" : "10.25Mb",
    "created_at" : ISODate("2018-08-30T04:16:48.000Z"),
    "thread_id" : 469,
    "updated_at" : ISODate("2018-08-30T04:16:48.000Z")
}

/* 8 */
{
    "_id" : ObjectId("5b876fb012d8a8dac23ddc6a"),
    "name" : "test time search keyword",
    "time" : "96ms",
    "memory" : "10.75Mb",
    "created_at" : ISODate("2018-08-30T04:16:48.000Z"),
    "thread_id" : 469,
    "updated_at" : ISODate("2018-08-30T04:16:48.000Z")
}

/* 9 */
{
    "_id" : ObjectId("5b876fb012d8a8db4b1d7724"),
    "name" : "test time addMessage user",
    "time" : "374ms",
    "memory" : "10.25Mb",
    "created_at" : ISODate("2018-08-30T04:16:48.000Z"),
    "thread_id" : 467,
    "updated_at" : ISODate("2018-08-30T04:16:48.000Z")
}

/* 10 */
{
    "_id" : ObjectId("5b876fb012d8a8db4b1d7725"),
    "name" : "test time search keyword",
    "time" : "30ms",
    "memory" : "10.75Mb",
    "created_at" : ISODate("2018-08-30T04:16:48.000Z"),
    "thread_id" : 467,
    "updated_at" : ISODate("2018-08-30T04:16:48.000Z")
}

/* 11 */
{
    "_id" : ObjectId("5b876fb112d8a8db4c4f3042"),
    "name" : "test time addMessage user",
    "time" : "198ms",
    "memory" : "10.25Mb",
    "created_at" : ISODate("2018-08-30T04:16:49.000Z"),
    "thread_id" : 468,
    "updated_at" : ISODate("2018-08-30T04:16:49.000Z")
}

/* 12 */
{
    "_id" : ObjectId("5b876fb112d8a8db4c4f3043"),
    "name" : "test time search keyword",
    "time" : "27ms",
    "memory" : "10.75Mb",
    "created_at" : ISODate("2018-08-30T04:16:49.000Z"),
    "thread_id" : 468,
    "updated_at" : ISODate("2018-08-30T04:16:49.000Z")
}

@phanngoc
Copy link
Author

phanngoc commented Aug 30, 2018

test sau khi setting 64, localhost

/* 1 */
{
    "_id" : ObjectId("5b8771c512d8a8de443cedf4"),
    "name" : "test time addMessage user",
    "time" : "103ms",
    "memory" : "10.25Mb",
    "created_at" : ISODate("2018-08-30T04:25:41.000Z"),
    "thread_id" : 471,
    "updated_at" : ISODate("2018-08-30T04:25:41.000Z")
}

/* 2 */
{
    "_id" : ObjectId("5b8771c512d8a8de443cedf5"),
    "name" : "test time search keyword",
    "time" : "94ms",
    "memory" : "10.75Mb",
    "created_at" : ISODate("2018-08-30T04:25:41.000Z"),
    "thread_id" : 471,
    "updated_at" : ISODate("2018-08-30T04:25:41.000Z")
}

/* 3 */
{
    "_id" : ObjectId("5b8771c512d8a8db4b1d7728"),
    "name" : "test time addMessage user",
    "time" : "151ms",
    "memory" : "10.25Mb",
    "created_at" : ISODate("2018-08-30T04:25:41.000Z"),
    "thread_id" : 470,
    "updated_at" : ISODate("2018-08-30T04:25:41.000Z")
}

/* 4 */
{
    "_id" : ObjectId("5b8771c512d8a8db4b1d7729"),
    "name" : "test time search keyword",
    "time" : "29ms",
    "memory" : "10.75Mb",
    "created_at" : ISODate("2018-08-30T04:25:41.000Z"),
    "thread_id" : 470,
    "updated_at" : ISODate("2018-08-30T04:25:41.000Z")
}

/* 5 */
{
    "_id" : ObjectId("5b8771c512d8a8db4c4f3045"),
    "name" : "test time addMessage user",
    "time" : "162ms",
    "memory" : "10.25Mb",
    "created_at" : ISODate("2018-08-30T04:25:41.000Z"),
    "thread_id" : 472,
    "updated_at" : ISODate("2018-08-30T04:25:41.000Z")
}

/* 6 */
{
    "_id" : ObjectId("5b8771c612d8a8db4c4f3046"),
    "name" : "test time search keyword",
    "time" : "175ms",
    "memory" : "10.75Mb",
    "created_at" : ISODate("2018-08-30T04:25:42.000Z"),
    "thread_id" : 472,
    "updated_at" : ISODate("2018-08-30T04:25:42.000Z")
}

/* 7 */
{
    "_id" : ObjectId("5b8771c612d8a8de470881d2"),
    "name" : "test time addMessage user",
    "time" : "435ms",
    "memory" : "10.25Mb",
    "created_at" : ISODate("2018-08-30T04:25:42.000Z"),
    "thread_id" : 473,
    "updated_at" : ISODate("2018-08-30T04:25:42.000Z")
}

/* 8 */
{
    "_id" : ObjectId("5b8771c612d8a8de470881d3"),
    "name" : "test time search keyword",
    "time" : "30ms",
    "memory" : "10.75Mb",
    "created_at" : ISODate("2018-08-30T04:25:42.000Z"),
    "thread_id" : 473,
    "updated_at" : ISODate("2018-08-30T04:25:42.000Z")
}

/* 9 */
{
    "_id" : ObjectId("5b8771c612d8a8de443cedf6"),
    "name" : "test time addMessage user",
    "time" : "100ms",
    "memory" : "10.25Mb",
    "created_at" : ISODate("2018-08-30T04:25:42.000Z"),
    "thread_id" : 475,
    "updated_at" : ISODate("2018-08-30T04:25:42.000Z")
}

/* 10 */
{
    "_id" : ObjectId("5b8771c612d8a8de443cedf7"),
    "name" : "test time search keyword",
    "time" : "42ms",
    "memory" : "10.75Mb",
    "created_at" : ISODate("2018-08-30T04:25:42.000Z"),
    "thread_id" : 475,
    "updated_at" : ISODate("2018-08-30T04:25:42.000Z")
}

/* 11 */
{
    "_id" : ObjectId("5b8771c612d8a8db4b1d772a"),
    "name" : "test time addMessage user",
    "time" : "149ms",
    "memory" : "10.25Mb",
    "created_at" : ISODate("2018-08-30T04:25:42.000Z"),
    "thread_id" : 474,
    "updated_at" : ISODate("2018-08-30T04:25:42.000Z")
}

/* 12 */
{
    "_id" : ObjectId("5b8771c612d8a8db4b1d772b"),
    "name" : "test time search keyword",
    "time" : "70ms",
    "memory" : "10.75Mb",
    "created_at" : ISODate("2018-08-30T04:25:42.000Z"),
    "thread_id" : 474,
    "updated_at" : ISODate("2018-08-30T04:25:42.000Z")
}
/* 1 */
{
    "_id" : "test time addMessage user",
    "value" : 183.333333333333
}

/* 2 */
{
    "_id" : "test time search keyword",
    "value" : 73.3333333333333
}

@phanngoc
Copy link
Author

/* 1 */
{
    "_id" : "test time addMessage user",
    "value" : 213.0
}

/* 2 */
{
    "_id" : "test time search keyword",
    "value" : 65.5
}

@phanngoc
Copy link
Author

/* 1 */
{
    "_id" : "test time addMessage user",
    "value" : 196.666666666667
}

/* 2 */
{
    "_id" : "test time search keyword",
    "value" : 41.6666666666667
}

@phanngoc
Copy link
Author

phanngoc commented Aug 30, 2018

test khi remove setting in out 64 thread

/* 1 */
{
    "_id" : "test time addMessage user",
    "value" : 140.666666666667
}

/* 2 */
{
    "_id" : "test time search keyword",
    "value" : 71.6666666666667
}
/* 1 */
{
    "_id" : "test time addMessage user",
    "value" : 162.166666666667
}

/* 2 */
{
    "_id" : "test time search keyword",
    "value" : 61.8333333333333
}
/* 1 */
{
    "_id" : "test time addMessage user",
    "value" : 196.5
}

/* 2 */
{
    "_id" : "test time search keyword",
    "value" : 75.8333333333333
}

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