You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to resolve some performance issues with large documents, and the problem (AFAICT) is due to the pruning of the document based on requested fields.
Even if I use formatResponse(response) { return [] } to pretend nothing came back , it's still a problem somewhere before formatResponse.
Query: {asyncsomething(...){
...dosomethingthattakes100ms...return[];// Did the work, but not bother sending it back}
106ms response time.
In the resolver, If I do:
context.payload=oneMbOfJSON;return[];
And then use formatResponse to do:
{data: options.context.payload}
I can see the response starting & streaming much faster.
A co-worker tried master to see if #710 resolves it, but it does not appear so.
For reference on why we have a document this large, it's because, internally, we leverage GraphQL to fetch a full document that we then reduce into a separate document that describes the state of key entities for internal tooling.
(For example, "why does this product not appear for users in Texas?")
Because of the complex (programmatic) rules that run against these documents, we're showing internal users the unfiltered document and filtering using the same logic that happens in user-land.
In the short-term, it appears our best option is to find a means of returning an unfiltered document (for performance) for internal uses?
Reacted by Olivier Tassinari, Danny Larsen, Lisa Övermyr, Jan Melcher, Jonathan R Wickens, Mariano Carballal, Olmo Maldonado, The Teknologist, Paweł Burda, Indra Susila and 12 more
Similarly, if you are able to generate the full response higher-up the graph, it is not currently possible to prevent resolve being called on all the child objects. Let's say we have a Schema such as this:
type Star {
id: Int
name: String
}
type Galaxy {
name: String
stars: [Star]
}
type Query {
milkyWay: Galaxy
}
schema {
query: Query
}
And the following query:
query {
milkyWay {
stars {
name
}
}
}
Let's assume the stars field has the ability to make a single request such as select star.name from stars inner join galaxy on star.id = galaxy.star_id where galaxy.name = 'Milky Way' and the result is already in the format of being an array of {name} objects. In this case, we do not want to iterate over every star - it's already populated in the correct format.
Having the ability for a resolver to do a 'full resolution' could be a huge performance gain in certain situations such as this, since the time to recursively iterate over a large data-set can be significant.
Any sense of what part of the course of execution is spending the most time for your use case? For example, are you validating the query first and spending time there? Is it all in query execution? Are there particular fields that are spending longer time than others? It would be interesting to see if you could put timing statements in to gain a better understanding of where the slow down is coming from.
The delay in response time (2-4s, as seen in the 1st GIF) points entirely to the pruning/reformatting of the results to match the requested property structure.
When I bypass that part, I can establish a reliable baseline for the query/validation/etc., which is < 100ms.
What I was wondering is if, for large arrays, if there is duplicated validation or formatting that's performed on each item that could be done once?
(Say that there was a performance opportunity where GraphQL checks each item in array that the requested property dateCreated exists on the parent typePost. This could be done once for the first node, and cached for subsequent nodes in the array for O(1) vs. O(n) or whatever).
@leebyron I am experiencing similar issues when I have a list of items with their own resolvers.
My resolvers make heavy use of dataloaders and I have initially thought that there is something slow between load -> batch -> return results from in DataLoaders but then I have realized that the individual calls to resolver function of each field takes too long for some reason.
Example:
parentObject
.children(~15 of them)
resolver1
resolver2
resolver3
resolver4
resolvers return promises that resolve to either scalars or objects.
I have logged the process.hrtime results for each resolver call. What I observe is that each call to resolvers easily take 1-2 ms if not more. If I have 15 child nodes, it easily adds up to 70-80ms of just function calls. When I run node --inspect and tried to profile the most time seems to be spend on validate/visitUsingRules functions.
Most of the data fetched is within 5-20 results. However one of the data points fetched is 1200 results. I ran a profiler and seems like a significant portion relates to graphql.execute.js. I used ab testing and had somewhere around 1.5-2.5 seconds for my requests even though I'm seeing the longest individual fetch taking around 500ms. How can I make this more performant?
Statistical profiling result from isolate-0x102004600-v8.log, (12704 ticks, 1351 unaccounted, 0 excluded).
I also wanted to find out which part of the graphql engine is responsible for this performance penality. For this, I first let R2D2 have 100000 friends and then used the HeroNameAndFriendsQuery of the starWarsQuery-test.js (adding id of the friend to query two fields). To narrow the source of the latency down, I first disabled the biggest chunk (completeListValue) and then gradually allowed more of the execution functions to be called. These are my results:
normal execution: ~626ms
disable completeListValue / get rid of loop within completeListValue: 0,24ms (replacing forEach loop by for loop does not help, neither does reducing the stuff inside the loop. Looping itself is the culprit.)
disable completeValueCatchingError within completeListValue: 5.17ms
disable completeValueWithLocatedError within list: 19ms
disalbe completeValue within list: 22ms
disable completeAbstractValue within list: 59ms
disable completeObjectValue within list: 97ms
disable executeFields within list: 208ms
disable resolveField within list: 402ms
disable completeValueCatchingError within list: 554ms
disable completeLeafValue within list: 614ms
All timings are just rough estimates, I ran the tests only for ~2s each and thus did not have a lot of iterations. But I think the takeaway is that there is no single "bad function" we could fix and magically have the performance improve by a large factor.
The test could be repeated with a more complex object and nested loops to more closely reflect real huge queries, but I don't think this would change much.
My suggestion
If you have a huge subgraph in your GraphQL schema that
does not have custom resolvers,
does not use promises
does not need the typechecking and serialization of GraphQL, and
you know that your queries don't use aliases or @skip/@include (or you somehow process them earlier), and
you are ok with forking GraphQL,
I would suggest the following: Annotate these huge lists of objects in some kind (e.g. attaching a Symbol) and and then check for this symbol in completeValue, right after the check for instanceof Error:
execute.js
exportconstdisableGraphQLPostProcessingSymbol=Symbol('disableGraphQLPostProcessingSymbol');// ...functioncompleteValue(// ...// If result is an Error, throw a located error.if(resultinstanceofError){
throw result;}if(result[disableGraphQLPostProcessingSymbol]){
return result;}// ...}
This totally cuts off any processing of the huge subgraph and, in my test case, yields sub-millisecond response times.
Reacted by Ole Jørgen Brønner, Anton Marini, TristanMenzinger, Egor Yurtaev and Andrei Vasin
@terencechow I edited your comment and hide isolate-0x102004600-v8.log under spoiler tag because it required me to scroll something like 10 screens to see the rest of the issue. If anyone else wants to post your profile log to this issue please use spoiler tag as described here: dear-github/dear-github#166 (comment)
For this, I first let R2D2 have 100000 friends and then used the HeroNameAndFriendsQuery of the starWarsQuery-test.js (adding id of the friend to query two fields).
@Yogu Since #1251 you can add performance benchmarks so it would be great to have something like your test inside graphql-js. Also would be great to have some performance tests involving promises.
Because right now the only performance test for execute function is running introspection query on the snapshot of GitHub Schema
If you or someone else wants to help with writing such test it would help a lot both in improving performance and preventing performance regressions in future.
But I think the takeaway is that there is no single "bad function" we could fix and magically have the performance improve by a large factor.
Yes, but it doesn't mean we could cut down a lot from by using:
It's been a while since I looked into it (over a year it seems!), but IIRC for each returned property, it was checked against the requested schema. For example, 100 items that had me.profile.user.name.given would all whitelisted against the requested query { me { profile { user { name { given } } } }.
At the time, my take was that that path-whitelisting could only happen once, vs. for every item.
Again, over year has gone by since I experienced this problem, so... 🤷♂️
I think the TL;DR of this issue is that GraphQL has some overhead and that reducing that overhead is non-trivial and removing it completely may not be an option. Ultimately GraphQL.js is still responsible for making API boundary guarantees about the shape and type of the returned data and by design does not trust the underlying systems. In other words GraphQL.js does runtime type checking and sub-selection and this has some cost.
I think improving the performance of GraphQL.js execution is still very possible but achieving the same performance as the lower bound of simply passing through data without sub-selection or checking is probably not possible.
The changes Ivan referenced in his comment above will help out a bunch. They may collectively reduce a 1000ms query to a 700ms query if the majority of the time spent is in GraphQL overhead rather than waiting on services. There's also probably a lot more room to improve, but that's something I would look to heavy users of GraphQL.js to help analyze and contribute. PRs that speed up execution are always welcome for review.
Also, I think it's always worth considering the tools you're using for the job. I think if your responses are measuring in the 100's of megabytes then GraphQL may be the wrong tool for that job. Likewise, if you see sub-selection as a pain point costing time rather than a feature allowing flexibility, then again GraphQL is probably the wrong tool for that job.
One option I've seen in the past is to create a custom "scalar" type which simply captures a bag of untyped JSON, so that you can both use GraphQL for the portions where that is valuable but fall back on plain JSON when that is more useful.
Reacted by ΘLΞG, João Marins, Ricardo Portugal, Zonr Chang, Michael Zhang, Matt Hargett, iam4x, Henry Cho, Bruno P. Kinoshita, Hürkan AKBIYIK and 22 more
I've created a simple example that shows performance degradation of GraphQL caused by returning a promise from a resolver. This issue doesn't seem to be related to type-checking, but rather actual GraphQL implementation. I understand the point about GraphQL not being the right tool for these type of queries, but still this seems like an actual issue.
Follow up: I replaced native node Promise with Bluebird, and performance results are much better.
sync resolver: 512.642ms
async resolver: 1395.811ms
Reacted by StefanFeederle, Wessel van der Veen, Matt Hargett, iam4x, Joshua Weinberg, Tobias Nentwig, Paweł Burda, Ericnr, Henry Cho, Dexter Miguel and 7 more
Hi,
This is causing problems when we have schemas stitched from remote graphql services. The response shape is already validated by the underlying graphql-server, and graphql-js re-validating that response is just creating a totally avoidable performance bottleneck.
It would be great to have an option to skipValidation, (disabled by default). A developer explicitly enabling this option would understand the cons of doing it. Not having an option at all is frustrating.
Reacted by Cameron Mayfield, Mithras and Mikis Woodwinter
@chinmay1994graphql-js already exposes separate functions for executing and validating documents. Libraries like apollo-server and express-graphql call each function separately when processing a request. In express-graphql, you can pass in a custom functions for both execution and validation so it's easy to disable validation if you so choose. apollo-server doesn't provide this functionality, but you could pass in an empty array of validationRules to achieve a similar effect. If the server library you're using doesn't provide a way of disabling or modifying validation, then you should open an issue or PR against that particular library's repo.
I also experienced very slow performance with an array of large documents but using graphql server cache solved the issue entirely (I'm using Apollo Server with their response cache plugin). Before using the plugin it would take 1 second to get the response, now it takes 88 msec. This workaround may be the easiest in terms of implementation while we still retain all the useful features of GraphQL like type checking and fields selection.
Reacted by Dmitry Yudakov, Michael Fischer and Hamza Hamidi
I'm experiencing the same problem with apollo-gateway. For now I've just monkey patched graphql like this:
I haven't tested it much but it seems to be working. I don't think there is any value in double checking anything in Gateway as subgraphs supposed to always return valid GraphQL responses. rootPath.key !== "__schema" check is for introspection which doesn't work with just return result. Anyway, with the patch Gateway is blazing fast and doesn't add any noticeable overhead!
Thanks @Yogu for the investigation!
Sorry for commenting on an old thread, but this is one of the places that are high in the Google Search results when researching graphql-js performance when processing large payloads.
We had a dramatic improvement in performance after ensuring that all the synchronous resolvers remain synchronous throughout the codebase.
This is especially relevant if you're using schema transforms, resolvers composition, or similar utilities where you can implicitly make all resolvers in your schema async. We saw ~100-115% improvement for requests that were processing a ~12Mb payload with a few thousand nodes (that's the reality of our API, unfortunately).
In general, the issue is much more taxing after your payload size creates enough promises to fully saturate the event loop, after that, the performance rolls down the hill badly.
To summarize, avoid async-only global schema transforms or resolvers composition. If the resolver can return the resolved value either synchronously or asynchronously depending on the contents of the parent node - prefer to return an explicit promise chain instead of using await for the asynchronous part.
To summarize, avoid async-only global schema transforms or resolvers composition. If the resolver can return the resolved value either synchronously or asynchronously depending on the contents of the parent node - prefer to return an explicit promise chain instead of using await for the asynchronous part.
Does anyone have any proof that using async/await in a resolver has worse performance than promise chains? As far as I've read the behaviour and performance should be essentially identical.
If there is a performance difference, I would like to understand the mechanism that causes that.
As I read it, the point is to avoid returning a promise and/or utilizing an async function if you don’t have to, as async in whatever form will carry a performance hit. Internally, graphql-js avoids wrapping anything synchronous with a promise, specifically to avoid that, and the recommendation is that resolver code similarly be careful in that regard.
We're facing a similar issue right now related to this problem. When we return 100k documents, even if they are quite small, just having the presence of an async-resolver per document creates 100k promises. It seems to me that one of the central problems isn't actually the Promise, but the information that's in the scope of the promise. It looks like Graphql generates a new info object for every document, and that effectively means 100k cloned info objects, each one bound into the scope of the promise. This gobbles 2gb of memory and then things grind to a halt. In this case, it's not because the promise itself is slow.
If there was a way to avoid creating a new info object per resolver inside an array of docs, that would reduce the memory footprint of large results dramatically. In theory, shouldn't almost all of that information be identical across all info objects, is there a way to reduce new allocations in some way?
Activity
[-]Slow response times with response.data[/-][+]Slow response times with large documents[/+]ajs139 commentedon Mar 22, 2017
Similarly, if you are able to generate the full response higher-up the graph, it is not currently possible to prevent resolve being called on all the child objects. Let's say we have a Schema such as this:
And the following query:
Let's assume the
starsfield has the ability to make a single request such asselect star.name from stars inner join galaxy on star.id = galaxy.star_id where galaxy.name = 'Milky Way'and the result is already in the format of being an array of{name}objects. In this case, we do not want to iterate over every star - it's already populated in the correct format.Having the ability for a resolver to do a 'full resolution' could be a huge performance gain in certain situations such as this, since the time to recursively iterate over a large data-set can be significant.
leebyron commentedon Apr 25, 2017
Any sense of what part of the course of execution is spending the most time for your use case? For example, are you validating the query first and spending time there? Is it all in query execution? Are there particular fields that are spending longer time than others? It would be interesting to see if you could put timing statements in to gain a better understanding of where the slow down is coming from.
ericclemmons commentedon Jun 5, 2017
@leebyron Sorry I didn't see this until now.
The delay in response time (2-4s, as seen in the 1st GIF) points entirely to the pruning/reformatting of the results to match the requested property structure.
When I bypass that part, I can establish a reliable baseline for the query/validation/etc., which is < 100ms.
What I was wondering is if, for large arrays, if there is duplicated validation or formatting that's performed on each item that could be done once?
(Say that there was a performance opportunity where GraphQL checks each item in array that the requested property
dateCreatedexists on the parent typePost. This could be done once for the first node, and cached for subsequent nodes in the array for O(1) vs. O(n) or whatever).cagdastulek commentedon Oct 9, 2017
@leebyron I am experiencing similar issues when I have a list of items with their own resolvers.
My resolvers make heavy use of dataloaders and I have initially thought that there is something slow between load -> batch -> return results from in DataLoaders but then I have realized that the individual calls to resolver function of each field takes too long for some reason.
Example:
I have logged the process.hrtime results for each resolver call. What I observe is that each call to resolvers easily take 1-2 ms if not more. If I have 15 child nodes, it easily adds up to 70-80ms of just function calls. When I run node --inspect and tried to profile the most time seems to be spend on validate/visitUsingRules functions.
Here is a screenshot of Chrome DevTool profiler:
I hope this helps.
terencechow commentedon Dec 1, 2017
As someone who is experiencing similiar issues I'd like to provide my profiler. I have a simple query like so
query ExampleQuery {
fetchPeople { ... }
fetchProjects { ... }
fetchOrders { ... }
... ~10 more fetches
}
Most of the data fetched is within 5-20 results. However one of the data points fetched is 1200 results. I ran a profiler and seems like a significant portion relates to graphql.execute.js. I used ab testing and had somewhere around 1.5-2.5 seconds for my requests even though I'm seeing the longest individual fetch taking around 500ms. How can I make this more performant?
Statistical profiling result from isolate-0x102004600-v8.log, (12704 ticks, 1351 unaccounted, 0 excluded).
isolate-0x102004600-v8.log
Yogu commentedon Jan 13, 2018
I also wanted to find out which part of the graphql engine is responsible for this performance penality. For this, I first let R2D2 have 100000 friends and then used the
HeroNameAndFriendsQueryof thestarWarsQuery-test.js(addingidof the friend to query two fields). To narrow the source of the latency down, I first disabled the biggest chunk (completeListValue) and then gradually allowed more of the execution functions to be called. These are my results:All timings are just rough estimates, I ran the tests only for ~2s each and thus did not have a lot of iterations. But I think the takeaway is that there is no single "bad function" we could fix and magically have the performance improve by a large factor.
The test could be repeated with a more complex object and nested loops to more closely reflect real huge queries, but I don't think this would change much.
My suggestion
If you have a huge subgraph in your GraphQL schema that
@skip/@include(or you somehow process them earlier), andI would suggest the following: Annotate these huge lists of objects in some kind (e.g. attaching a Symbol) and and then check for this symbol in
completeValue, right after the check forinstanceof Error:execute.js
This totally cuts off any processing of the huge subgraph and, in my test case, yields sub-millisecond response times.
IvanGoncharov commentedon Mar 13, 2018
@terencechow I edited your comment and hide
isolate-0x102004600-v8.logunder spoiler tag because it required me to scroll something like 10 screens to see the rest of the issue. If anyone else wants to post your profile log to this issue please use spoiler tag as described here: dear-github/dear-github#166 (comment)@Yogu Since #1251 you can add performance benchmarks so it would be great to have something like your test inside
graphql-js. Also would be great to have some performance tests involving promises.Because right now the only performance test for
executefunction is running introspection query on the snapshot of GitHub SchemaIf you or someone else wants to help with writing such test it would help a lot both in improving performance and preventing performance regressions in future.
Yes, but it doesn't mean we could cut down a lot from by using:
ericclemmons commentedon Mar 24, 2018
It's been a while since I looked into it (over a year it seems!), but IIRC for each returned property, it was checked against the requested schema. For example, 100 items that had
me.profile.user.name.givenwould all whitelisted against the requested query{ me { profile { user { name { given } } } }.At the time, my take was that that path-whitelisting could only happen once, vs. for every item.
Again, over year has gone by since I experienced this problem, so... 🤷♂️
leebyron commentedon Apr 5, 2018
I think the TL;DR of this issue is that GraphQL has some overhead and that reducing that overhead is non-trivial and removing it completely may not be an option. Ultimately GraphQL.js is still responsible for making API boundary guarantees about the shape and type of the returned data and by design does not trust the underlying systems. In other words GraphQL.js does runtime type checking and sub-selection and this has some cost.
I think improving the performance of GraphQL.js execution is still very possible but achieving the same performance as the lower bound of simply passing through data without sub-selection or checking is probably not possible.
The changes Ivan referenced in his comment above will help out a bunch. They may collectively reduce a 1000ms query to a 700ms query if the majority of the time spent is in GraphQL overhead rather than waiting on services. There's also probably a lot more room to improve, but that's something I would look to heavy users of GraphQL.js to help analyze and contribute. PRs that speed up execution are always welcome for review.
Also, I think it's always worth considering the tools you're using for the job. I think if your responses are measuring in the 100's of megabytes then GraphQL may be the wrong tool for that job. Likewise, if you see sub-selection as a pain point costing time rather than a feature allowing flexibility, then again GraphQL is probably the wrong tool for that job.
One option I've seen in the past is to create a custom "scalar" type which simply captures a bag of untyped JSON, so that you can both use GraphQL for the portions where that is valuable but fall back on plain JSON when that is more useful.
cagdastulek commentedon Apr 5, 2018
I think this is a fair explanation. Thank you for that.
wiktor256 commentedon Apr 22, 2018
I've created a simple example that shows performance degradation of GraphQL caused by returning a promise from a resolver. This issue doesn't seem to be related to type-checking, but rather actual GraphQL implementation. I understand the point about GraphQL not being the right tool for these type of queries, but still this seems like an actual issue.
Sample results:
Here is the code snippet:
https://gist.github.com/wiktor256/fede8f058dbdc1728910de8400c50c72
Follow up: I replaced native node Promise with Bluebird, and performance results are much better.
chinmay1994 commentedon Jun 28, 2020
Hi,
This is causing problems when we have schemas stitched from remote graphql services. The response shape is already validated by the underlying graphql-server, and graphql-js re-validating that response is just creating a totally avoidable performance bottleneck.
It would be great to have an option to skipValidation, (disabled by default). A developer explicitly enabling this option would understand the cons of doing it. Not having an option at all is frustrating.
danielrearden commentedon Jun 28, 2020
@chinmay1994
graphql-jsalready exposes separate functions for executing and validating documents. Libraries likeapollo-serverandexpress-graphqlcall each function separately when processing a request. Inexpress-graphql, you can pass in a custom functions for both execution and validation so it's easy to disable validation if you so choose.apollo-serverdoesn't provide this functionality, but you could pass in an empty array ofvalidationRulesto achieve a similar effect. If the server library you're using doesn't provide a way of disabling or modifying validation, then you should open an issue or PR against that particular library's repo.yossisp commentedon Sep 15, 2020
I also experienced very slow performance with an array of large documents but using graphql server cache solved the issue entirely (I'm using Apollo Server with their response cache plugin). Before using the plugin it would take 1 second to get the response, now it takes 88 msec. This workaround may be the easiest in terms of implementation while we still retain all the useful features of GraphQL like type checking and fields selection.
Mithras commentedon Nov 16, 2021
I'm experiencing the same problem with

apollo-gateway. For now I've just monkey patchedgraphqllike this:I haven't tested it much but it seems to be working. I don't think there is any value in double checking anything in Gateway as subgraphs supposed to always return valid GraphQL responses.
rootPath.key !== "__schema"check is for introspection which doesn't work with justreturn result. Anyway, with the patch Gateway is blazing fast and doesn't add any noticeable overhead!Thanks @Yogu for the investigation!
av commentedon Dec 1, 2022
Sorry for commenting on an old thread, but this is one of the places that are high in the Google Search results when researching
graphql-jsperformance when processing large payloads.We had a dramatic improvement in performance after ensuring that all the synchronous resolvers remain synchronous throughout the codebase.
This is especially relevant if you're using schema transforms, resolvers composition, or similar utilities where you can implicitly make all resolvers in your schema
async. We saw ~100-115% improvement for requests that were processing a ~12Mb payload with a few thousand nodes (that's the reality of our API, unfortunately).In general, the issue is much more taxing after your payload size creates enough promises to fully saturate the event loop, after that, the performance rolls down the hill badly.
To summarize, avoid
async-only global schema transforms or resolvers composition. If the resolver can return the resolved value either synchronously or asynchronously depending on the contents of the parent node - prefer to return an explicit promise chain instead of usingawaitfor the asynchronous part.abejfehr commentedon May 7, 2024
Does anyone have any proof that using
async/awaitin a resolver has worse performance than promise chains? As far as I've read the behaviour and performance should be essentially identical.If there is a performance difference, I would like to understand the mechanism that causes that.
yaacovCR commentedon May 7, 2024
As I read it, the point is to avoid returning a promise and/or utilizing an async function if you don’t have to, as async in whatever form will carry a performance hit. Internally, graphql-js avoids wrapping anything synchronous with a promise, specifically to avoid that, and the recommendation is that resolver code similarly be careful in that regard.
owenallenaz commentedon Aug 18, 2025
We're facing a similar issue right now related to this problem. When we return 100k documents, even if they are quite small, just having the presence of an async-resolver per document creates 100k promises. It seems to me that one of the central problems isn't actually the Promise, but the information that's in the scope of the promise. It looks like Graphql generates a new
infoobject for every document, and that effectively means 100k cloned info objects, each one bound into the scope of the promise. This gobbles 2gb of memory and then things grind to a halt. In this case, it's not because the promise itself is slow.If there was a way to avoid creating a new info object per resolver inside an array of docs, that would reduce the memory footprint of large results dramatically. In theory, shouldn't almost all of that information be identical across all
infoobjects, is there a way to reduce new allocations in some way?yaacovCR commentedon Jun 3, 2026
Closing this older issue, recommend seeing comment by @leebyron above: #723 (comment)
In terms of performance, there continues to be a lot of experimentation in that regard outside of graphql-js still within the JS/TS ecosystem, some links:
https://github.com/zalando-incubator/graphql-jit
https://grafast.org
https://github.com/gmac/graphql-breadth-js
With some draft sketches within graphql-js: